ionic2 build, want to add typescript


#1

I saw the new build with gulp and browserify, and it super faster then the last build with webpack.

I noticed it is now with js files with es6, I want to use typescript.

Any ideas how to add it?


#2

If you want to start a TypeScript project you should specify it explicitly (as currently JS is the default):

ionic start MyApp --v2 --ts

If you want to convert a JavaScript project to TypeScript follow the steps in the linked post:

If you don’t have much own code yet, maybe it’ll be faster to re-start the project, otherwise the conversion of existing project to TypeScript is also not very difficult.