Zod like parser in typebox

Hey, I have a schemas made using @sinclair/typebox and I am looking for a similar option to .parse method provided by zod that throws an error. I see that @sinclair/typebox offers .Check method but it does not throw an error. Also there is an .Errors method that returns me an array of validation error but still I'd have to throw it manually. Am I missing something there?
0 Replies
No replies yetBe the first to reply to this messageJoin
Want results from more Discord servers?
Add your server