meta_pixel
Tapesearch Logo
Log in
Syntax - Tasty Web Development Treats

741: TypeScript Interview Questions - STUMP’d

Syntax - Tasty Web Development Treats

Wes Bos

Tech News, Technology, News

4.91.2K Ratings

🗓️ 11 March 2024

⏱️ 25 minutes

🧾️ Download transcript

Summary

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 Hit us up on Socials! Syntax: X Instagram Tiktok LinkedIn Threads Wes: X Instagram Tiktok LinkedIn Threads Scott:X Instagram Tiktok LinkedIn Threads Randy: X Instagram YouTube Threads

Transcript

Click on a timestamp to play from that location

0:00.0

Welcome to Syntax! On this Monday hasty treat, we are going to be playing a mini round of

0:08.1

stumped where Wes and I try to stump each other with questions on various tech. Now today we are going to be

0:15.4

doing a quick round of TypeScript Stumped, which I'm slightly not looking forward to because Wes has been working on a long

0:25.1

course on TypeScript and I just use it casually. So I mean I use it to develop my

0:30.0

things but I'm no like you know typescript genius into the weeds yeah yes so be prepared for

0:39.1

Potentially four big red X is on this yeah no I'm not I'm not going to do like a how do you

0:44.5

Kiav infer a record conditionally because like that's a whole other level of

0:51.3

type scripting.

0:53.3

This is more just like user features

0:55.4

that we'll be talking about today.

0:57.0

But a couple little nuggets.

0:59.4

We're going to do four questions each,

1:00.8

so hopefully between all of the eight things things you can learn a thing or two.

1:04.9

Yeah and if you are not using TypeScript you're probably going to have bugs and your

1:10.7

software we don't want your software to have bugs.

1:13.3

Well, I use TypeScript and I have bugs.

1:15.4

If you're using TypeScript to your software,

1:17.4

probably has bugs.

1:18.4

Yeah.

1:19.6

You know, that's just the nature of things and that's why you need a service like Century to help you out. This podcast is. is presented by Century. It's a

1:25.0

by Century. It's a really awesome software for just making sure your

1:29.6

applications run smooth, whether that's speed, bugs user experience yeah perf so yeah

...

Please login to see the full transcript.

Disclaimer: The podcast and artwork embedded on this page are from Wes Bos, and are the property of its owner and not affiliated with or endorsed by Tapesearch.

Generated transcripts are the property of Wes Bos and are distributed freely under the Fair Use doctrine. Transcripts generated by Tapesearch are not guaranteed to be accurate.

Copyright © Tapesearch 2026.