Preparing search index...
The search index is not available
Type Conformity
Type Conformity
DeriveConstType
Type alias DeriveConstType<T>
Derive
Const
Type
<
T
>
:
T
extends
Primitive
?
{
[
K
in
keyof
T
]
:
K
}
:
T
extends
[
]
?
T
:
T
extends
object
?
{
[
K
in
keyof
T
]
:
T
[
K
]
extends
Primitive
?
DeriveConstType
<
T
[
K
]
>
:
DeriveConstType
<
T
[
K
]
>
}
:
never
Narrows a type it's specific value.
Type Parameters
T
Settings
Member Visibility
Protected
Private
Inherited
External
Theme
OS
Light
Dark
Examples
Tutorials
Github
Type Conformity
Loading...
Generated using
TypeDoc
Narrows a type it's specific value.