Frontend First cover image

Lying in TypeScript

Frontend First

00:00

Typescript Is a Typescript That's Like a Non-Line

The runtime check is what gives you a type that you can be a hundred percent confident Assuming there's no bugs in like zod because I know At that point you've only reached that code path if my valid my zod validation fails. Usually when we interact with systems like apis, we're writing ourselves. So it's very easy to just call an API endpoint and You want to add a type to it so that you can use typescript. It means you won't run into a bug when someone puts something in the URL you don't expect.

Transcript
Play full episode

The AI-powered Podcast Player

Save insights by tapping your headphones, chat with episodes, discover the best highlights - and more!
App store bannerPlay store banner
Get the app