Video wird geladen...

Video konnte nicht geladen werden

Zur Startseite

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

196,620 Aufrufe • vor 3 Jahren •via X (Twitter)

10 Kommentare

Profilbild von Steve (Builder.io)
Steve (Builder.io)vor 3 Jahren

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

Profilbild von trash
trashvor 3 Jahren

I am satisfied

Profilbild von Steve (Builder.io)
Steve (Builder.io)vor 3 Jahren

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

Profilbild von Dominik 🔮
Dominik 🔮vor 3 Jahren

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

Profilbild von dax
daxvor 3 Jahren

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

Profilbild von Adewale
Adewalevor 3 Jahren

let me = {} satisfies you; 🌚

Profilbild von Isaac Way
Isaac Wayvor 3 Jahren

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"

Profilbild von Mukesh Soni
Mukesh Sonivor 3 Jahren

Thanks for the tip.

Profilbild von RKereh
RKerehvor 3 Jahren

really helpful

Profilbild von Viktor Hubert
Viktor Hubertvor 3 Jahren

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

Ähnliche Videos