A deep dive to the Non Null Assertion operator of TypeScript

Описание к видео A deep dive to the Non Null Assertion operator of TypeScript

Let's master of the most controversial features Of TypeScript. The non-null assertion operator allows you to check nullable values by placing an exclamation mark at the end of the expression. Join me in this episode to learn how it works.

Read the blog post:
https://nicotsou.com/tltr-typescript-...

00:00 Intro
01:53 The problem
05:12 Using the Non-Null Assertion Operator
07:05 A better example
09:33 Where to use it?
11:21 Should I use it?
13:32 How it compares to Optional Chaining?
15:21 Outro

Links
My free ✨TypeScript course ✨:
https://tltr-typescript.com
The playlist with all the videos in the series:
   • TLTR; TypeScript  

This video belongs to my series Too Long To Read TypeScript. Every episode covers in detail a core concept of the language.

❤️ How to support this channel?
Like this video
Subscribe to the channel
Share this video with your friends on social media (only if it helped you)
Check out my course

Комментарии

Информация по комментариям в разработке