Загрузка видео...

Не удалось загрузить видео

На главную

The `satisfies` operator in TypeScript 4.9 is a game changer Here is a quick overview of how it compares to a couple alternative ways of annotating types Learn more about the `satisfies` operator here:

257,759 просмотров • 3 лет назад •via X (Twitter)

Комментарии: 10

Фото профиля Steve (Builder.io)
Steve (Builder.io)3 лет назад

For those asking, I do have a YouTube channel where I posts videos like this, complete with obnoxious thumbnails

Фото профиля Steve (Builder.io)
Steve (Builder.io)3 лет назад

Read more about making the most of `satisfies` in my latest blog post:

Фото профиля Rich Perez
Rich Perez3 лет назад

This is really cool and also I need time to wrap my around the three different scenarios lol

Фото профиля Ash Connolly 👋
Ash Connolly 👋3 лет назад

By far the most clear explanation of satisfies I've seen. Great vid mate! 👍 I've been wanting this is in TS for a while, so pleased it's here!

Фото профиля Brian Lovin
Brian Lovin3 лет назад

Very helpful 🙌

Фото профиля Steve (Builder.io)
Steve (Builder.io)3 лет назад

Thanks Brian!

Фото профиля Nikolas Burk
Nikolas Burk3 лет назад

Awesome video 🚀 @stephenkingdev also wrote a really instructive article about how `satisfies` helps you with DB-related workflows 👀

Фото профиля Yoav Ganbar
Yoav Ganbar3 лет назад

Spending those days off well 😂

Фото профиля John
John3 лет назад

I guess this also helps get rid of places with extra unknown conversions before type cast e.g (as unknown as Color), right? 🤔

Фото профиля moji ///
moji ///3 лет назад

Nicely explained, thanks!

Похожие видео