If you want to properly narrow object types or errors then this video is for you. During this tutorial you will learn how to write a type guard and how TypeScript 4.9 will improve the type checking.
My FREE programming apps:
https://apps.apple.com/app/id659282498
https://play.google.com/store/apps/de...
My FREE TypeScript Course:
https://typescript.tv/
Timeline:
00:18 - Catch clause variable type annotation (TS1196)
00:40 - Object is of type unknown (TS2571)
01:03 - Object is possibly null (TS2531)
01:37 - Property does not exist on type (TS2339)
02:56 - Changes in TypeScript 4.9
03:28 - How to update TypeScript
04:42 - VS Code's TypeScript Version
05:08 - Local exectuables from Node Modules
05:26 - TypeScript Errors Overview
Resources:
➜ https://github.com/microsoft/TypeScri...
➜ https://docs.npmjs.com/cli/v9/configu...
➜ https://typescript.tv/errors/
Follow TypeScript TV:
🌐 https://typescript.tv
🐦 / typescripttv
📺 / typescripttv
Hashtags:
#TypeScript #typescripttutorial #nodejs #nodejstutorial