You don't know TS: often unknown parts of TypeScript
summary
Covers concrete TypeScript fixes and demos: running tsc --noEmit checks on plain .js, using strictNullChecks and the postfix non‑null operator (!) to avoid runtime nulls, wrapping state with Readonly and ReadonlyArray to catch mutations, generating nested interfaces from JSON with a VS Code snippet (Ctrl+Shift+T), enabling noImplicitAny and the TSLint typedef rule to force return types, practical type guards for unions, and using the never type for exhaustive switch checks used in Redux/React/Angular examples.
AI-written summary · about
chapters (14)
- 0:00Intro
- 2:33TS check
- 3:38JS Doc format
- 4:42Browser environment
- 4:53Type definition
- 5:27Generic elements
- 6:31Player element
- 6:52Null pointer exception
- 7:33Postfix operator
- 8:11Imutable structures
- 10:16Big JSON responses
- 11:17Biased JSON
- 14:47Type Guards
- 16:33Never Type








