Type Utils
Preparing search index...
V2
GenericStruct
Type Alias GenericStruct<T, UnionOrIntersection>
GenericStruct
:
|
V2
.
Struct
<
T
>
|
(
UnionOrIntersection
extends
false
?
never
:
UnionOrIntersection
extends
"union"
?
V2
.
UnionStruct
<
T
,
T
>
:
UnionOrIntersection
extends
"intersection"
?
V2
.
IntersectionStruct
<
T
,
T
>
:
V2
.
UnionStruct
<
T
,
T
>
|
V2
.
IntersectionStruct
<
T
,
T
>
)
Type Parameters
T
=
any
UnionOrIntersection
extends
"union"
|
"intersection"
|
true
|
false
=
true
Settings
Member Visibility
Inherited
External
Theme
OS
Light
Dark
Type Utils
Loading...