ianstormtaylor / superstruct

A simple and composable way to validate data in JavaScript (and TypeScript).
https://docs.superstructjs.org
MIT License
7.01k stars 224 forks source link

feat: add `InferUncoerced` type utility #1181

Open ziad-saab opened 1 year ago

ziad-saab commented 1 year ago

Works exactly like Infer, except where part of the schema is coerced, returns the un-coerced type instead.

amok commented 12 months ago

Any chance it gets merged?