Typescript Library Declarations (ES2023)
Type Alias OmitThisParameter<T>
Omit
This
Parameter
<
T
>
:
unknown
extends
ThisParameterType
<
T
>
?
T
:
T
extends
(
(
...
args
:
infer
A
)
=>
infer
R
)
?
(
(
...
args
:
A
)
=>
R
)
:
T
Removes the 'this' parameter from a function type.
Type Parameters
T
Settings
Member Visibility
Inherited
Theme
OS
Light
Dark
Typescript Library Declarations (ES2023)
Removes the 'this' parameter from a function type.