VS Code Tips and Tricks for TypeScript Wizards

preview_player
Показать описание
Learn how VSCode can turn you into a TypeScript wizard! In this session, Matt shows off the cool things the TypeScript team has shipped to make your life easier.

#VSCodeDay #VSCode
Рекомендации по теме
Комментарии
Автор

Thanks for having me VSCode day! Always love appearing on your streams.

mattpocockuk
Автор

So happy we got this guy, I have learned so much from him about more advanced TS concepts.

babyboie
Автор

21:50 - This helped me visually understand what's actually happening when indexing a mapped type. Really cool

kr
Автор

Helpful stuff, "Prettify" should really build into vscode or typescript extesion, it's much easier with multiple pick and omit on typings

shawnxiong
Автор

Your first example made use of the concept of literal types in TypeScript, which kinda blew me away. Coming from a C# background (and not very versed in TypeScript), I was confused at first that you made the parameter `name` to be the *type* 'John' (as opposed to thinking of it as the *value* 'John').
So, I did what any seasoned developer should do: I cracked open ChatGPT-4 to get a better understanding of what was going on! (We are living in amazing times!)

Oh, and BTW, I think it might be a stretch to call "string literal types" a "beginner" concept in TypeScript. It seems too "edge-case" to apply to beginners. But hey, I could be wrong - I'm a C# kinda guy...

danielgilleland
Автор

wait... isn't VSCode is Source Code Editor ? not an IDE

ipaldesse
Автор

Seems my VSCode type checking is slow, but think my pc is dying so it's likely just me😢

codernerd