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

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

На главную

If you are creating configuration objects in TS and not using the `satisfies` operator, you are doing it wrong

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

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

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

As a byproduct of this video I have discovered that making corny youtube thumbnails brings me great joy

Фото профиля trash
trash3 лет назад

I am satisfied

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

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

Фото профиля Dominik 🔮
Dominik 🔮3 лет назад

great video! sorry for the off-topic question: how did you add those captions to the video ?

Фото профиля dax
dax3 лет назад

lol wow just pushed a commit to support this for SST's config an hour ago

Фото профиля Adewale
Adewale3 лет назад

let me = {} satisfies you; 🌚

Фото профиля Isaac Way
Isaac Way3 лет назад

cool vid! I didn't really understand the use case for satisfies til this.. my understanding now is that it basically says: "This object needs to be this type, but don't throw away any type information about it"

Фото профиля Mukesh Soni
Mukesh Soni3 лет назад

Thanks for the tip.

Фото профиля RKereh
RKereh3 лет назад

really helpful

Фото профиля Viktor Hubert
Viktor Hubert3 лет назад

`satisfies` is 🔥. I needed it so many times before when it wasn't around yet. I need to remember this is now possible!

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