Ionic start newapp --v2 without typescript

I’m creating a new app using ionic start myapp --v2 without the --ts flag but I’m still getting .ts files.
Same thing happens in 2.0.0-beta.23 and 2.0.0-beta.37

What am I missing? How can I generate my .js files?

We are no longer able to create JS only apps… only TypeScript ones.

While I am sure there are great reasons for this, some of which I can see, its causing a lot of problems for people like me who are using very unusual (unpopular) JS libraries, as working around not having typings is a headache.

1 Like

For those libraries that don’t have any types, you can always do

declare var myLib: any

And you’ll be fine.

1 Like