Post

Steve (Builder.io)
Steve (Builder.io)@Steve8708·
If you are creating configuration objects in TS and not using the `satisfies` operator, you are doing it wrong
English
34
347
2.4K
196.6K
sasquatched
sasquatched@sasquatched_·
@Steve8708 Whats the comment/auto suggestion extension you are using? Looks super handy!
English
1
0
0
322
Yeu-Kang Hua
Yeu-Kang Hua@yeukang·
@Steve8708 Can't you use as const to advice something similar (knowing what keys routes have)?
English
1
0
0
1.5K
Dominik 🔮
Dominik 🔮@TkDodo·
@Steve8708 great video! sorry for the off-topic question: how did you add those captions to the video ?
English
0
0
15
6.4K
dax
dax@thdxr·
@Steve8708 lol wow just pushed a commit to support this for SST's config an hour ago
English
0
0
4
2.2K
Travis Fischer
Travis Fischer@transitive_bs·
@Steve8708 Love this format 💪 btw your accent for the word "routes" sounds like "roots" and I find it hilarious 😂
English
0
0
0
95
Isaac Way
Isaac Way@isaac_ts_way·
@Steve8708 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"
English
0
0
2
261
Mongi
Mongi@mongijebali92·
@Steve8708 no more `as TYPE`. very useful to keep a clean code
English
0
0
1
437
Kerem Kazan
Kerem Kazan@mechaturka·
@Steve8708 Bruh what?! Never seen this before, ty. Will start using this asap
English
0
0
1
626
Viktor Hubert
Viktor Hubert@ZeeCoder·
@Steve8708 `satisfies` is 🔥. I needed it so many times before when it wasn't around yet. I need to remember this is now possible!
English
0
0
1
707
Jacob Shuman
Jacob Shuman@nullbitme·
@Steve8708 wow i read about this a while ago but this example really helped me figure out a use case quickly. i run into that problem a lot
English
0
0
0
99
Bewick
Bewick@SirBewick·
@Steve8708 Funny how "const routes: Routes" should behave exactly like this, but since TS is broken they added a new a keyword to fix their shit and everyone is like
GIF
English
1
0
0
172
Paylaş