(...schemas: Schema[])
| 23 | |
| 24 | /** the values any schema accepts, without the branches others subsume */ |
| 25 | export const union = (...schemas: Schema[]): Root => |
| 26 | rootSchema(schemas.map(schema => parse(schema)) as never) |
| 27 | |
| 28 | export interface Discriminant { |
| 29 | path: readonly PropertyKey[] |
no test coverage detected