How to create a TypeScript project for Model Driven Apps

This is the continuation of a series on how to apply TypeScript in Model Driven Apps, In my previous blog post I’ve explained what TypeScript is, pros and cons and how it helps in Model Driven Apps, in this case I’m going to walk you through on how to create a TypeScript project from scratch for Model Driven Apps.
I will show you how to add the config files and one first example of TypeScript that you can apply to a main form, but don’t worry in my next blog post I will show you more cool examples