A typesafe validation & parsing library for TypeScript.
MIT License
Bot releases are hidden (Show)
Published by jviide 8 months ago
.chain(...)
, .map(...)
and .assert(...)
now receive a second parameter, useful for forwarding the current parsing mode to .try(...)
.Published by jviide 8 months ago
Full Changelog: https://github.com/badrap/valita/compare/v0.3.1...v0.3.2
Published by jviide 8 months ago
Add .nullable()
(thanks to @dimatakoy!)
See the README.md for usage examples.
"moduleResolution": "bundler"
setting (thanks to @jukkakoskinen for reporting the problem!)