zeed
Preparing search index...
TypeObjectFixOptional
Type Alias TypeObjectFixOptional<T>
TypeObjectFixOptional
:
{
[
K
in
keyof
T
as
undefined
extends
T
[
K
]
?
K
:
never
]
?:
T
[
K
]
&
{}
}
&
{
[
K
in
keyof
T
as
undefined
extends
T
[
K
]
?
never
:
K
]
:
T
[
K
]
&
{}
}
Utility type to make object properties optional if their value type includes undefined.
Type Parameters
T
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
zeed
Loading...
Utility type to make object properties optional if their value type includes undefined.