Ionic V2 starter - WHY .js extension?!

In the ionic 2 starter instead of the .ts extension .js is used. Why would one do this?

It’s very inconvenient in so many ways. Just to mention three:

  • Beginners with JS background my be confused thinking this is plain JavaScript
  • IDEs like WebStorm are confused as hell
  • Well it simply isn’t javascript; it’s typescript!

I haven’t managed to change the file extensions yet since it won’t compile anymore. Just changing “app.js” to “app.ts” in webpack.config.js on line 20 won’t help.

1 Like

Please refer to the following issue: