Preparing search index...
The search index is not available
Additional types and utils for TypeScript
type-plus
OptionalProps
Type Alias OptionalProps<T>
Optional
Props
<
T
>
:
T
extends
unknown
?
{
[
k
in
OptionalKeys
<
T
>
]
?:
T
[
k
]
}
:
never
Parse
T
to keep only the optional properties.
Type Parameters
T
extends
AnyRecord
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
type-plus - v8.0.0-beta.6
Loading...
Parse
T
to keep only the optional properties.