Re:TypeScript please give us types
by wvenable on Friday July 07, 2023 @05:10PM
(#36638340)
You'd still be able to execute the code as JS. Your library that uses type reflection wouldn't work anymore but that's true of all these solutions.
[ Parent
| on HN ]
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.