@adobe/ecs - v0.2.1
Preparing search index...
@adobe/ecs
Schema
ForType
Type Alias ForType<T>
ForType
:
Schema
&
(
[
T
]
extends
[
boolean
]
?
ForNonUnion
<
T
>
:
IsUnion
<
T
>
extends
true
?
|
OrSchema
&
{
anyOf
:
readonly
ForTypeEach
<
(...)
>
[]
}
|
(
[
T
]
extends
[
string
]
?
StringSchema
:
never
)
:
ForNonUnion
<
T
>
)
The schemas whose
ToType
is
T
; constrains a schema to describe a known type.
Type Parameters
T
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
@adobe/ecs - v0.2.1
Loading...
The schemas whose
ToTypeisT; constrains a schema to describe a known type.