News for hackers. Stuff that matters.
Re:TypeScript please give us types by lolinder on Friday July 07, 2023 @05:12PM (#36638368)
No, it's not. I can take a library that uses zod, strip the annotations, and it will execute perfectly anywhere I want to run it.
Re:TypeScript please give us types by wvenable on Friday July 07, 2023 @05:19PM (#36638443)
That's because Zod doesn't use type annotations as input. We're talking about wanting to use type annotations as input so that we don't have to make our code as ugly as Zod makes it.