Most of the samples here will assume that you have TypeScript installed. You can get TypeScript with Visual Studio, NuGet, or with npm:
npm install -g typescriptTo compile each sample, cd into the directory and use the tsc command to compile.
tsc will use each directory's tsconfig.json to get specific compiler options.