正在加载视频...

视频加载失败

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!

相关视频