Quantcast
Channel: Ionic Forum - Latest topics
Viewing all articles
Browse latest Browse all 70612

Ionic V2 starter - WHY .js extension?!

$
0
0

@tmuecksch wrote:

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 is typescript and not javascript

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.

Posts: 1

Participants: 1

Read full topic


Viewing all articles
Browse latest Browse all 70612

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>