Skip to content

Type Alias: StaticDecode<T, P>

StaticDecode<T, P>: StaticDecodeIsAny<T> extends true ? unknown : Static<TDecodeType<T>, P>

Creates an decoded static type from a TypeBox type

Type Parameters

Type ParameterDefault type
T extends TSchema-
P extends unknown[][]

Defined in

node_modules/@sinclair/typebox/build/cjs/type/static/static.d.ts:29

Released under the MIT License.