Migrate Ionic project to TypeScript

Hi. I have developed a medium size ionic application, it is working fine but it has many things to improve relating to documentation, testing and scalability so I want to move my application gradually to TypeScript to perform these features and make my app object oriented and fully documented. Do you have some articles, videos, etc that explain how to migrate gradually an application to TypeScript?

Thank you very much.

See Ionic 1.0 Use AngularJs 1.0 . But AnguarJs 1.0 not supported by TypeScript. For Use TypeScript in your application you need to use AngularJs 2.0 and Ionic 2.0.

Right now AngularJs 2.0 and Ionic 2.0 both in Alpha phase. If you want learn AngualrJs. 2.0 and Ionic 2.0.
Learn and join following groups.



I hope it will help you.

Here is an example on how to use Typescript with Ionic 1.x:

I think it’s a good idea to start using Typescript with Angular 1.x because changing both language and framework (Angular 2 / Ionic 2) at same time is going to be a much harder work.