Typescript - a necessity front-end tool
summary
Claim: Typescript cuts unit-test surface by about 10–20% by catching nullability and type mismatches earlier. Practical steps include installing and running tsc, using tsc --watch, creating tsconfig with strictNullChecks, compiling test.ts to test.js, and adding @types (example @types/react) or custom .d.ts files. Demos show VS Code intellisense improvement, union types and interfaces for props, and successful compilation and incremental builds that prevent many integration regressions.
AI-written summary · about
chapters (9)
- 0:00Start
- 4:29Reduces number of unit tests
- 5:42Helps with regression
- 7:51How to run TypeScript! Step 1
- 11:34Updated Config File
- 14:10notNullable checks
- 23:37Advance Types
- 25:25Casting
- 26:15Custom Lib Support
related talks
39mTypeScript: Why? When? How?
33mTypeScript - JavaScript you are gonna love
19mYou don't know TS: often unknown parts of TypeScript
24mTypeScript - You'll Like It
40mTypeScript: State of the Union
24mTypeScript: Static types for JavaScript
24mTypeScript and how I've learned to love the compiler
57mTypeScript : More than just another JS transpiler
