Documentation / @sw-file-lib/xml / xml-schema / InferShape
Type Alias: InferShape<T>
ts
type InferShape<T> = { [K in OptionalKeys<T>]?: Infer<T[K]> } & { [K in RequiredKeys<T>]: Infer<T[K]> };Defined in: packages/xml/src/xml-schema/types.ts:312
Infers the object value produced by a schema shape.
Type Parameters
| Type Parameter |
|---|
T extends Shape |