Hacker News new | past | comments | ask | show | jobs | submit login

I just declare these structures with io-ts, and get validation, serialization, deserialization code and types for free.



That library is mentioned in the article




Join us for AI Startup School this June 16-17 in San Francisco!

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: