# Typescript - [Documentation](https://www.typescriptlang.org/docs/home.html) ## Install - `npm install -g typescript` - [ST2](https://github.com/Microsoft/TypeScript-Sublime-Plugin) - [Atom](https://atom.io/packages/atom-typescript) ## Basics - Typed Javascript - Introduces static typing - Extensions: .ts, .tsx - Compiles to .js - Controlled via settings in `tsconfig.json` - Accepts standard javscript - When typings are added typescript will highlight errors on the fly and provide autocompletion ## Compile pipeline in di2 *.ts (TS) => *Typescript Compiler* => *.js (ES2017) => *Babel* => *.js (ES5) => *Webpack* => *.bundle.js (Final ES5 bundle for use in browser) ## Starter tutorial [Tutorial](https://www.typescriptlang.org/docs/handbook/typescript-in-5-minutes.html) ## Usage with react [here](https://github.com/chrisfinch/typescript-primer)