正在加载视频...

视频加载失败

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

155,792 次观看 • 10 个月前 •via X (Twitter)

55 条评论

Kit Langton 的头像
Kit Langton10 个月前

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

Kit Langton 的头像
Kit Langton10 个月前

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

Matt Pocock 的头像
Matt Pocock10 个月前

Beautiful! FYI this resolves to { x: never }

Kit Langton 的头像
Kit Langton10 个月前

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

Matt Pocock 的头像
Matt Pocock10 个月前

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

Kit Langton 的头像
Kit Langton10 个月前

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! 😜

trav 的头像
trav10 个月前

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

Kit Langton 的头像
Kit Langton10 个月前

@schickling Nooooooooooooo

Brandon McConnell 的头像
Brandon McConnell10 个月前

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 })

Kit Langton 的头像
Kit Langton10 个月前

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

Kit Langton 的头像
Kit Langton10 个月前

Maybe wrapping it in new Set([ 😜

Brandon McConnell 的头像
Brandon McConnell10 个月前

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)

Kit Langton 的头像
Kit Langton10 个月前

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 :)

Brandon McConnell 的头像
Brandon McConnell10 个月前

ofc!

Jeff Scott 的头像
Jeff Scott10 个月前

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

Kit Langton 的头像
Kit Langton10 个月前

@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.

Mat Fournier 的头像
Mat Fournier10 个月前

Long time no see, this was great thanks.

Kit Langton 的头像
Kit Langton10 个月前

Hey Mat! Thank ye :)

Kit Langton 的头像
Kit Langton10 个月前

You got a rust job! Nice :)

Mat Fournier 的头像
Mat Fournier10 个月前

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

Rahban Ghani 的头像
Rahban Ghani10 个月前

You deserve a follow for this beauty.

Cyandev 的头像
Cyandev10 个月前

I think we need another hidden badge for unlocking all achievements 👀

Kit Langton 的头像
Kit Langton10 个月前

👏👏👏 Achievement achievements! Should this trigger yet another achievement, and so on; an infinitely linked list of congratulations?

Cyandev 的头像
Cyandev10 个月前

Hoping that won't explode my call stack 🤣

Ruan 的头像
Ruan10 个月前

olha que maneirinho @typescripting

Ari Dyckovsky 的头像
Ari Dyckovsky10 个月前

Who knew clicking types could be such a soothing experience

Kit Langton 的头像
Kit Langton10 个月前

I've spent centuries clicking types in my IDE to no avail. It's high time for clicked types to jiggle most pleasantly!

Sree 的头像
Sree10 个月前

sound design and animation so immaculate i thought this was an award winning game

Brandon McConnell 的头像
Brandon McConnell10 个月前

This is so cool. The practical use of keyboard navigation, scroll snapping, and sound here is absolutely delightful. I want every web application to feel this smooth.

Magnus Strømseng 的头像
Magnus Strømseng10 个月前

Thank you so much for making this!

Pochi 的头像
Pochi10 个月前

This is a fantastic way to learn TypeScript. We build Pochi with TypeScript and love seeing creative ways to help developers master it. Great work!

Steve Lauda 的头像
Steve Lauda10 个月前

Damn good!

Kit Langton 的头像
Kit Langton10 个月前

Thanks, Steve! 👈👈😎

Will Mruzek 的头像
Will Mruzek10 个月前

Oh hey! Kit's back

Jonathan Aldas 的头像
Jonathan Aldas10 个月前

I shared this with all my friends. Amazing!!

Carlos Ziegler 的头像
Carlos Ziegler10 个月前

Wow 🤩 very very niceeee !! Thanks for sharing!!

Daniel Ashcroft 🫳🏼 的头像
Daniel Ashcroft 🫳🏼10 个月前

Amazing work. Only because you seem like a perfectionist, I noticed there is vertical fade cutoff for code blocks on mobile (safari)

Kit Langton 的头像
Kit Langton10 个月前

Doh! Yeah, I've got to fix that stuff. The desktop version is what I gave 99.9% of my attention to. 😅 (And thank you!)

Panduyasha 的头像
Panduyasha10 个月前

this is so cool!

Eigil Nikolajsen 的头像
Eigil Nikolajsen10 个月前

Beautiful!:)

BlackWolfNews 的头像
BlackWolfNews10 个月前

Very useful, thank you.

aron 的头像
aron10 个月前

whoa this is amazing

adamhorvath.eth 🦇🔊 的头像
adamhorvath.eth 🦇🔊10 个月前

Amazing! Thank you

Dimitar 的头像
Dimitar10 个月前

Oh wow that's awesome and the sound design 🕺

Pokémon 的头像
Pokémon10 个月前

this is amazing.

Anh 的头像
Anh10 个月前

In main-DosnN-le.css, `code { font-family: Commit Mono,ui-monospace,monospace }`. Should it be `code { font-family: var(--font-mono) }` to make it consistent? I might learn Typescript because of you :-)

Mark 的头像
Mark10 个月前

Please release the source code, really like the animations. Are they done with Motion?

Kit Langton 的头像
Kit Langton10 个月前

They are! 💯 I will release the source eventually, but it's going to be a little while! Working on some more things.

Mark 的头像
Mark10 个月前

Thanks a lot!

Michael Vessia 的头像
Michael Vessia10 个月前

Thanks Sam for adding vim controls

Ditectrev 的头像
Ditectrev10 个月前

Super cool!

Srinivas Devaki 的头像
Srinivas Devaki10 个月前

whoa amazing

Kit Langton 的头像
Kit Langton10 个月前

Gimme 0 dollars NOW

Michael 的头像
Michael10 个月前

@nexxeln one of the most delightful learning experiences I’ve ever had

Bhuvanesh S 的头像
Bhuvanesh S10 个月前

This is beautiful. The attention to detail given to each aspect is mind-blowing.

相关视频