AI-powered
podcast player
Listen to all your favourite podcasts with AI-powered features
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.