I rate this as one of the most useful short talks on TypeScript's type system
@jasonstewart79832 жыл бұрын
That was a really helpful talk, full of information and examples, I'm glad it is available. You gave really concrete examples of some of the mapped type utilities that are confusing. One item that you moved past quite quickly was the addition of the [keyof T] on to the end of the Type definition of GetTruthyKeys - you said "we filter it so that it just includes the keys". I would love a little more detail on just that piece as I've not seen it talked about anywhere else.
@pezo19194 жыл бұрын
Super. Important topic, but there is not much videos on that yet. Congrats.
@faruzzy Жыл бұрын
At 14:03, looks like this work as expected in 2023 without the need for bringing the Subset type into the mix. Am I missing something?
@DanielLauzon3 жыл бұрын
Spectacular. Thanks for this!
@user-fg6ng7ej6w2 жыл бұрын
good overview, thanks
@Shubham-xh9nz2 жыл бұрын
damn this was so cool
@deepfuchsia72044 жыл бұрын
21:22 it doesn't seem to be that simple.
@troooooper1004 жыл бұрын
here is an idea, how about not make what's simple complex. Stick to JS.
@kresimircosic37534 жыл бұрын
I am pretty new to TypeScript, but I can already say that understanding it really can make the IDE life much easier.
@ljuglampa3 жыл бұрын
Yes that's definitely an idea. It's unfortunately a terrible one. I was skeptical too at first but now I won't code anything in JS unless I really have to. TypeScript is better in every single way.
@akifimran9780 Жыл бұрын
I was kinda skeptical to accept the TS life as well but that I am here I don't wanna go back to just JS.