Before we start let’s just ask a few questions:
Why Typescript? There are two main goals of TypeScript:
Provide an optional type system for JavaScript. Provide planned features from future JavaScript editions to current JavaScript engines
Okay second issue I have come across with TypeScript is that even though you can get TypeScript to build your JavaScript files during the build process whist using Visual Studio, when you come to publish the project the JavaScript files are no longer there….!
TypeScript is great, and it is in Preview from Microsoft. One of the first issues I had was how to get TypeScript to build your JavaScript files every time you build your Visual Studio project.