Fast forward to now, I have a good year of experience with the MEAN stack which means I have a much better feel for the JS language. I have enough experience that I know I miss the static typing that C# provides me when I’m not working on a MEAN application. In case you were’t aware I’m a .Net Developer by day and a JS developer by night.
As I went through the TypeScript tutorial on TypeScriptLang.org I noticed there was an npm package for installing the TypeScript compiler (tsc.exe).
npm install -g typscript
Definitely Typed d.ts files
One of the most beneficial features of TypeScript is the Type definition files. You can check them out at DefinitelyTyped.org along with a tool to install them very easily from the command line. The tool I’m talking about is called tsd. Stay tuned for a quick start guide to tsd.
The test app
So after a few tutorials I decide that I need to start learning TypeScript by writing an Angular App. You can find this very simple app on GitHub. The application includes the following Angular features implemented with TypeScript:
Still to come on this repo is a TypeScript directive and unit tests. And don’t worry I plan to rewrite the API in Node
After writing the Todo App, I’ve decided that learning TypeScript was a great idea. The main benefits I saw were with the excellent intellisense when using the Angular libraries and even my own classes. Additionally the support for ES6 classes and modules makes it very nice as well.