Gezinmeyi atla
Visual Types, a humble collection of semi-interactive TypeScript lessons, is ready to be clicked…
0:00 / 0:33

Visual Types, a humble collection of semi-interactive TypeScript lessons, is ready to be clicked…

Kit Langton

@kitlangton26 B takipçi

X profili
1.131 beğeniİndirOrijinal gönderi

155.978 görüntüleme

Visual Types, a humble collection of semi-interactive TypeScript lessons, is ready to be clicked upon. ← 👀

55 Yorum

Yorumlar X (Twitter) üzerindeki orijinal gönderiden alınmıştır

  • Kit Langton profil fotoğrafı

    @kitlangton

    I'll add to this over time, so please let me know if there's anything you'd like to see covered or improved! 🫡

    42 beğeni

  • Kit Langton profil fotoğrafı

    @kitlangton

    Let me know if anyone manages to unlock all the ACHIEVEMENTS. 😜

    15 beğeni

  • Matt Pocock profil fotoğrafı

    @mattpocockuk

    Beautiful! FYI this resolves to { x: never }

    27 beğeni

  • Kit Langton profil fotoğrafı

    @kitlangton

    I had no idea! Fixed! 🫶 (Plus added one more example for the intersection of objects inside of an object)

    8 beğeni

  • Matt Pocock profil fotoğrafı

    @mattpocockuk

    Neat! I would also order the utility types much higher, and show the difference between Pick/Exclude/Omit/Extract, since that's a very common source of confusion

    7 beğeni

  • Kit Langton profil fotoğrafı

    @kitlangton

    I'll do just that! I still need to work on the ordering and improve some of those last few examples (and add more). It gets a bit rougher as it goes on due to my self-administered first-draft deadline! 😜

    5 beğeni

  • trav profil fotoğrafı

    @techsavvytravvy

    @schickling super cool i love this ps on ios safari 18

    8 beğeni

  • Kit Langton profil fotoğrafı

    @kitlangton

    @schickling Nooooooooooooo

    7 beğeni

  • Brandon McConnell profil fotoğrafı

    @branmcconnell

    looks sweet! already sharing in my network I think it could be kinda confusing to show the results in curly braces { … } as some new TS users may mistake that literally with objects (e.g. { key: value })

    5 beğeni

  • Kit Langton profil fotoğrafı

    @kitlangton

    Doh. You're right. Darn mathematical set notation! I'll try to find another less ambiguous method for representing sets of values.

    4 beğeni

  • Kit Langton profil fotoğrafı

    @kitlangton

    Maybe wrapping it in new Set([ 😜

    1 beğeni

  • Brandon McConnell profil fotoğrafı

    @branmcconnell

    Haha true – btw not the most intuitive to have to hold shift to go backward when clicking through an example either (though I do like it)

    1 beğeni

  • Kit Langton profil fotoğrafı

    @kitlangton

    I’m more comfortable with that one because you could always use the arrow keys or click all the way around. I think the only other solution would be to have two explicit buttons, but that would be a bit of clutter. Thanks for the great feedback by the way! I really appreciate it :)

    1 beğeni

  • Brandon McConnell profil fotoğrafı

    @branmcconnell

    ofc!

  • Jeff Scott profil fotoğrafı

    @JeffScottDev

    The animations are elite, but they could use some mobile consideration. I wish all docs were this well done and interactive. Fantastic work!

    4 beğeni

  • Kit Langton profil fotoğrafı

    @kitlangton

    @CanadianDevDad Yeah. It's definitely desktop first at the moment 😅 I've got to figure out how to rework some of them for phone sized screens.

    3 beğeni

  • Mat Fournier profil fotoğrafı

    @mat4nier

    Long time no see, this was great thanks.

    2 beğeni

  • Kit Langton profil fotoğrafı

    @kitlangton

    Hey Mat! Thank ye :)

    1 beğeni

  • Kit Langton profil fotoğrafı

    @kitlangton

    You got a rust job! Nice :)

    1 beğeni

  • Mat Fournier profil fotoğrafı

    @mat4nier

    Hah. Oh how I wish. 95% python, 5% rust.

    1 beğeni