OPTIONAL - Install the TypeScript compiler globally (local install is also possible):
npm install -g typescript
Install this package with Git:
git clone git@github.com:danielstern/compiling-typescript.git
Install local packages with npm
:
npm install
Run TypeScript compilation and start the server simultaneously with:
npm start
Contains HTML file which is served to the user - aggregates references to generated .js files.
Contains the non-compiled TypeScript code. This code becomes JavaScript that the browser can work with.