Preparing search index...
The search index is not available
Additional types and utils for TypeScript
type-plus
UnionOfProps
Type Alias UnionOfProps<A, P>
Union
Of
Props
<
A
,
P
>
:
A
[
"length"
]
extends
0
?
never
:
A
[
"length"
]
extends
1
?
A
[
0
]
[
P
]
:
A
[
0
]
[
P
]
|
UnionOfProps
<
Tail
<
A
>
,
P
>
Gets the union of properties of the elements in
A
Type Parameters
A
extends
readonly
Record
<
any
,
any
>
[]
P
extends
KeyTypes
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
type-plus - v8.0.0-beta.6
Loading...
Gets the union of properties of the elements in
A