There are several things here that need correcting:
Eric Elliott

  1. I believe you can setup a build process to use tsc with .js, but I’m not webpack/gulp expert
  2. That is the whole point, static type annotations are optional and do not exist in the runtime, they are there to help humans and tools. Its the exact same for languages like Dart, no types in the runtime. This has many benefits vs statically typed languages which is why I believe its become popular. Also you get the benefits of tsd tooling without any changes to code (flow or TS style)
  3. Heard of rollup and wish it’d gain some traction. I hope Webpack/JSpm/Rollup merge to form the UberBundler, but then of course in a few months something newer will come along :)
Like what you read? Give defcon79 a round of applause.

From a quick cheer to a standing ovation, clap to show how much you enjoyed this story.