How to transform existing project from plain JavaScript to TypeScript?

Hi All,

I have started an Ionic 2 project without specifying a --ts parameter in the command line.

My initial thought was that I wanted to develop a project in a plain JavaScript, without TypeScript. But injecting classes into constructors are awful in the plain JS compared to TypeScript.

So how can I add TypeScript support to the existing project? I’m using ionic-angular version 2.0.0-beta.3.

I did it manually. Keen to see if other users have other options.