Documentation / @sw-file-lib/xml / xml-schema / InferUnion
Type Alias: InferUnion<T>
ts
type InferUnion<T> = Infer<T[number]>;Defined in: packages/xml/src/xml-schema/classes/union.ts:25
Infers the value produced by any branch of a union schema.
Type Parameters
| Type Parameter |
|---|
T extends SchemaTuple |