正在加载视频...

视频加载失败

TypeScript types can be intimidating to read. My solution? Break it into pieces. This is a preview of my upcoming new course, "TypeScript: Deep Dive". Publishing in May!

13,699 次观看 • 1 年前 •via X (Twitter)

10 条评论

Cory House 的头像
Cory House1 年前

And yes, I wear a tie when writing complex types. Serious business.

ArkType 的头像
ArkType1 年前

Nice! Now explain this.

Cory House 的头像
Cory House1 年前

Any reason you don’t CamelCase your types and type args?

Kerem Atam 🔺 的头像
Kerem Atam 🔺1 年前

developer in a suit is a red flag. muted, blocked, reported.

Cory House 的头像
Cory House1 年前

Fair

Aldo 的头像
Aldo1 年前

I'm not at this level yet but I'll get there 👐

Pavel Svitek 🇨🇭 的头像
Pavel Svitek 🇨🇭1 年前

You know what would be really powerful? Generate a list of example values for those types on demand, directly in editor. Something like "show me how this is used for real". AI-enabled typing documentation.

Virgile RIETSCH 的头像
Virgile RIETSCH1 年前

nice outfit ! dressed well for the occasion Cory!

Michał Zakrzewski 的头像
Michał Zakrzewski1 年前

tie took my whole focus 😉

skane_eng 的头像
skane_eng1 年前

Well, it's easier than unscrambling C declarations: char *(*c[10]) (int **p); “c is an array of 10 pointers to functions that each take a pointer to a pointer to an int as an argument and return a pointer to a char.”

相关视频