Src/core/decorators/autobind/autobind
autobind
autobind<TFunction
>(target
): void
| TFunction
Type parameters
Name | Type |
---|---|
TFunction |
extends Function |
Parameters
Name | Type |
---|---|
target |
TFunction |
Returns
void
| TFunction
Defined in
autobind-decorator/index.d.ts:1
autobind<T
>(target
, propertyKey
, descriptor
): void
| TypedPropertyDescriptor
<T
>
Type parameters
Name |
---|
T |
Parameters
Name | Type |
---|---|
target |
Object |
propertyKey |
string | symbol |
descriptor |
TypedPropertyDescriptor <T > |
Returns
void
| TypedPropertyDescriptor
<T
>
Defined in
autobind-decorator/index.d.ts:1