Keyborg/test.md

22 lines
322 B
Markdown

StringSchema -> ParseError("too long")
Object {
test: StringSchema | NumberSchema,
}
{
test: true
}
test: StringSchema -> error
test: NumberSchema -> error
Union: Neither StringSchema nor NumberSchema worked
Object -> [
test: Union -> [
StringSchema -> error
NumberSchema -> error
]
]