TypeScript for Node.js Develpment
This project contains the presentation and sample code for my "TypeScript for Node.js" session at Connect.Tech.
To get full details, including a related video walk through and description of the presentation, read the TypeScript for Node.js blog post.
Examples folder contains a simple project to illustrate various TypeScript features. The examples are best viewed from an IDE like Visual Studio Code for development-time feedback. You can:
node 001-types runs the first example.
npm run-script tsc:w builds and watches, useful for commenting/uncommenting code to walk through the example.
npm run-script tsc:es6 builds for ECMAScript 2015 to illustrate differences in output despite the same TypeScript source.
This is a very simple project to show basic setup for Node.js development.
npm run-script build to build it.
node lib/main to run it. You should see some colorful cats.
Snippets to build yourself