Lépjen offline állapotba az Player FM alkalmazással!
741: TypeScript Interview Questions - STUMP’d
Manage episode 405833595 series 1469447
Wes and Scott tackle TypeScript trivia, from combining string literal types to unraveling the mystery of d.ts files. Join them as they challenge each other on conditional types, interfaces, triple-slash directives, and TypeScript records.
Show Notes- 00:00 Welcome to Syntax!
- TypeScript
- 01:05 Brought to you by Sentry.io.
- 03:20 How do you combine string literal types?
- Template Literal Types
- 06:34 What is a TypeScript Generic and why would you use one?
- TypeScript Generics
- 08:12 How do you write a conditional type?
- TypeScript Conditional Types
- 09:58 Generating TypeScript type from a function.
- Stricter Generators
- 14:09 How do d.ts files work?
- Module .d.ts
- 16:25 Name one difference between a type and an interface.
- Types vs Interfaces
- 19:15 What is a tripple-slash directive and why would you use them?
- Tripple-Slash Directives
- 20:52 What is a TypeScript record and what is it used for?
- Utility Types
Syntax: X Instagram Tiktok LinkedIn Threads
Wes: X Instagram Tiktok LinkedIn Threads
773 epizódok
Manage episode 405833595 series 1469447
Wes and Scott tackle TypeScript trivia, from combining string literal types to unraveling the mystery of d.ts files. Join them as they challenge each other on conditional types, interfaces, triple-slash directives, and TypeScript records.
Show Notes- 00:00 Welcome to Syntax!
- TypeScript
- 01:05 Brought to you by Sentry.io.
- 03:20 How do you combine string literal types?
- Template Literal Types
- 06:34 What is a TypeScript Generic and why would you use one?
- TypeScript Generics
- 08:12 How do you write a conditional type?
- TypeScript Conditional Types
- 09:58 Generating TypeScript type from a function.
- Stricter Generators
- 14:09 How do d.ts files work?
- Module .d.ts
- 16:25 Name one difference between a type and an interface.
- Types vs Interfaces
- 19:15 What is a tripple-slash directive and why would you use them?
- Tripple-Slash Directives
- 20:52 What is a TypeScript record and what is it used for?
- Utility Types
Syntax: X Instagram Tiktok LinkedIn Threads
Wes: X Instagram Tiktok LinkedIn Threads
773 epizódok
Minden epizód
×Üdvözlünk a Player FM-nél!
A Player FM lejátszó az internetet böngészi a kiváló minőségű podcastok után, hogy ön élvezhesse azokat. Ez a legjobb podcast-alkalmazás, Androidon, iPhone-on és a weben is működik. Jelentkezzen be az feliratkozások szinkronizálásához az eszközök között.