Kfg Documentation
Preparing search index...
StaticSchema
Type Alias StaticSchema<T>
StaticSchema
:
T
extends
{
items
:
infer
I
;
type
:
"array"
}
?
StaticSchema
<
I
>
[]
:
T
extends
TSchema
?
Static
<
T
>
:
T
extends
SchemaDefinition
?
{
-
readonly
[
K
in
keyof
T
]
:
StaticSchema
<
T
[
K
]
>
}
:
never
A mapped type that converts a SchemaDefinition into a static TypeScript type.
Type Parameters
T
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
Kfg Documentation
Loading...
A mapped type that converts a SchemaDefinition into a static TypeScript type.