TypeScript Berlin Meetup #2: Generics, Conditional types and Mapped types

แชร์
ฝัง
  • เผยแพร่เมื่อ 11 พ.ย. 2024

ความคิดเห็น • 13

  • @justinkim7202
    @justinkim7202 ปีที่แล้ว +2

    I rate this as one of the most useful short talks on TypeScript's type system

  • @jasonstewart7983
    @jasonstewart7983 2 ปีที่แล้ว +2

    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.

  • @pezo1919
    @pezo1919 4 ปีที่แล้ว +18

    Super. Important topic, but there is not much videos on that yet. Congrats.

  • @faruzzy
    @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?

  • @user-fg6ng7ej6w
    @user-fg6ng7ej6w 2 ปีที่แล้ว +1

    good overview, thanks

  • @DanielLauzon
    @DanielLauzon 3 ปีที่แล้ว +1

    Spectacular. Thanks for this!

  • @Shubham-xh9nz
    @Shubham-xh9nz 2 ปีที่แล้ว +1

    damn this was so cool

  • @deepfuchsia7204
    @deepfuchsia7204 4 ปีที่แล้ว +1

    21:22 it doesn't seem to be that simple.

  • @troooooper100
    @troooooper100 4 ปีที่แล้ว +2

    here is an idea, how about not make what's simple complex. Stick to JS.

    • @kresimircosic3753
      @kresimircosic3753 4 ปีที่แล้ว +8

      I am pretty new to TypeScript, but I can already say that understanding it really can make the IDE life much easier.

    • @ljuglampa
      @ljuglampa 3 ปีที่แล้ว +7

      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
      @akifimran9780 ปีที่แล้ว +1

      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.