Discolink
GitHub
Preparing search index...
Typings
NonNullableProp
Type Alias NonNullableProp<T, P>
NonNullableProp
:
{
[
K
in
keyof
T
]
:
K
extends
P
?
NonNullable
<
T
[
K
]
>
:
T
[
K
]
}
Makes select properties non-nullable and returns the resolved type
Type Parameters
T
P
extends
keyof
T
Settings
Member Visibility
Protected
Inherited
Theme
OS
Light
Dark
GitHub
Discolink
Loading...
Makes select properties non-nullable and returns the resolved type