Preparing search index...
The search index is not available
Additional types and utils for TypeScript
type-plus
amend
Function amend
amend
<
S
>
(
subject
)
:
{
intersect
<
T
>
(
)
:
S
|
T
;
union
<
T
>
(
)
:
T
&
S
;
}
amend
subject
with type
T
Type Parameters
S
Parameters
subject
:
S
Returns
{
intersect
<
T
>
(
)
:
S
|
T
;
union
<
T
>
(
)
:
T
&
S
;
}
intersect
:
function
intersect
<
T
>
(
)
:
S
|
T
Type Parameters
T
Returns
S
|
T
union
:
function
union
<
T
>
(
)
:
T
&
S
Type Parameters
T
Returns
T
&
S
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
type-plus - v8.0.0-beta.6
Loading...
amend
subject
with typeT