@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