Skip to content

Documentation / @sw-file-lib/xml / xml-schema / ObjectShape

Type Alias: ObjectShape<T> ​

ts
type ObjectShape<T> = T extends ObjectSchema<infer S> ? S : never;

Defined in: packages/xml/src/xml-schema/types.ts:353

Extracts the shape from an object schema.

Type Parameters ​

Type Parameter
T