op
▸ op<T>(fn, options?): Op<T>
Type parameters
| Name | Type |
|---|---|
T | extends (…args: any[]) => any |
Parameters
| Name | Type |
|---|---|
fn | T |
options? | OpOptions<T> |
Returns
Op<T>
Defined in
op.ts:369 ▸ op<T>(thisArg, fn, options?): Op<T>
Type parameters
| Name | Type |
|---|---|
T | extends (…args: any[]) => any |
Parameters
| Name | Type |
|---|---|
thisArg | any |
fn | T |
options? | OpOptions<T> |
Returns
Op<T>
Defined in
op.ts:374 ▸ op(target, propertyKey, descriptor): TypedPropertyDescriptor<any>
Parameters
| Name | Type |
|---|---|
target | Object |
propertyKey | string | symbol |
descriptor | TypedPropertyDescriptor<any> |
Returns
TypedPropertyDescriptor<any>
Defined in
op.ts:380 ▸ op<T>(value, context): Op<T>
Type parameters
| Name | Type |
|---|---|
T | extends (…args: any[]) => any |
Parameters
| Name | Type |
|---|---|
value | T |
context | MethodDecoratorContext |
Returns
Op<T>
Defined in
op.ts:386 ▸ op(options): MethodDecorator
Parameters
| Name | Type |
|---|---|
options | Partial<OpOptions<any>> |
Returns
MethodDecorator