type-plus
Preparing search index...
IntersectOfProps
Type Alias IntersectOfProps<A, P>
IntersectOfProps
:
number
extends
A
[
"length"
]
?
A
[
0
]
[
P
]
:
A
[
"length"
]
extends
0
?
never
:
A
[
"length"
]
extends
1
?
A
[
0
]
[
P
]
:
A
[
0
]
[
P
]
&
IntersectOfProps
<
Tail
<
A
>
,
P
>
🦴
utilities
Gets the intersect of properties of the elements in
A
.
Type Parameters
A
extends
readonly
Record
<
any
,
unknown
>
[]
P
extends
KeyTypes
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
type-plus
Loading...
🦴 utilities
Gets the intersect of properties of the elements in
A.