Converting an existing Angular JS application to TypeScript
In my last post we took an overview of the steps taken to convert the Connections simulator to TypeScript. This post details the steps needed to refine our application to leverage the features TypeScript gives us, so following on from phase 2:
Converting an existing Angular JS application to TypeScript
With the AngularJS team deciding to adopt a super-set of the TypeScript language, AtScript, TypeScript is clearly a language with a degree of momentum behind it. By adding type annotations and backporting ECMAScript 6 features TypeScript promises to make large JavaScript projects easier to maintain and understand. With that in mind our team decided to investigate adopting the language in our Connections simulator project, a relatively large and complex AngularJS application currently written in ECMAScript 5.