Quantcast
Channel: Ionic Forum - Latest posts
Viewing all articles
Browse latest Browse all 228595

Ionic 2 with typescript?

$
0
0

I installed and created an Ionic2 project (sidebar template) using the usual commands as given in Ionic2's getting started. I was hoping that Ionic 2 would give me typescript files(.ts), however I got .js files for the components like list.js, grid.js, app.js. Now if I need to code a service module, should I use ts file or js file. I am using Visual studio IDE, which doesn't give me intellisense if I use js file. And if I use a .ts file for service module, then while using the service module in a js component like list.js, I don't get intellisense there.
Am I missing something?


Viewing all articles
Browse latest Browse all 228595

Trending Articles



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