Open braden-w opened 6 months ago
Currently, when using the compile function compile(schema), the result of running the check function still gives a type of unknown.
compile(schema)
unknown
These additional types enhance the returned function so that validating input of type unknown will return an output matching the shape of the schema.
Currently, when using the compile function
compile(schema)
, the result of running the check function still gives a type ofunknown
.These additional types enhance the returned function so that validating input of type
unknown
will return an output matching the shape of the schema.