Make sure you are running Node 8.x or later. You can use NVM to update to the LTS version of Node 8.
It is highly recommended you use a text editor that supports TypeScript intellisense. VS Code comes with this functionality out of the box.
Clone this repo
$ git clone [email protected]:VICEMedia/intro-to-typescript.git
Install dependencies
$ npm install
In order to run the presentation, use the following npm command:
$ npm run presentation
This will start up the presentation and also open a new tab in your browser with the slides.
In order to run a TypeScript file using the ts-node library, you can use the following command:
$ npm run ts <path to file>
This presentation was created using MDX Deck and Code Surfer.