What’s New in TypeScript
summary
TypeScript 2.0 demos show how a statically typed superset compiles down to ES5/ES6 using tsc and tsconfig watch mode, with refactoring that updates JS and TS across a project and Visual Studio Code tooling. A live React example uses React/TSX to fetch Reddit JSON and render images successfully. Practical features highlighted: non-nullable types and control‑flow analysis. Migration options include allowJs for gradual conversion. The claim: large projects shift time spent from understanding/maintenance to creating (from 70/25/5 toward 65/20/15).
AI-written summary · about
chapters (11)
- 0:00Introduction and speaker background
- 2:11Why TypeScript matters
- 7:31What is TypeScript
- 10:22Demo: JavaScript to TypeScript
- 15:19Setting up TypeScript project
- 24:38TypeScript compiler and ECMAScript targets
- 26:46Learning curve and prerequisites
- 30:39New features in TypeScript 2.0 and ES6
- 31:42Non-nullable types and control flow analysis
- 37:20TypeScript with React and Angular
- 40:59Summary and resources
