Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
esrch
· 3y ago · 0 comments
You might be aware of it already, but I just wanted to mention that the Zod library could potentially solve some of your needs.
Comments
[–]
chucklenorris
3y ago
Yes, that and the openapi plugin is what i use right now. Before i used to load the ts compiler at runtime and tell it to parse my file and got the types from there. But it was a stupid overengineered brittle solution.