op
▸ op<T>(fn, options?): Op<T>
型パラメータ
| 名前 | 型 |
|---|---|
T | extends (…args: any[]) => any |
パラメータ
| 名前 | 型 |
|---|---|
fn | T |
options? | OpOptions<T> |
戻り値
Op<T>
定義
op.ts:369 ▸ op<T>(thisArg, fn, options?): Op<T>
型パラメータ
| 名前 | 型 |
|---|---|
T | extends (…args: any[]) => any |
パラメータ
| 名前 | 型 |
|---|---|
thisArg | any |
fn | T |
options? | OpOptions<T> |
戻り値
Op<T>
定義
op.ts:374 ▸ op(target, propertyKey, descriptor): TypedPropertyDescriptor<any>
パラメータ
| 名前 | 型 |
|---|---|
target | Object |
propertyKey | string | symbol |
descriptor | TypedPropertyDescriptor<any> |
戻り値
TypedPropertyDescriptor<any>
定義
op.ts:380 ▸ op<T>(value, context): Op<T>
型パラメータ
| 名前 | 型 |
|---|---|
T | extends (…args: any[]) => any |
パラメータ
| 名前 | 型 |
|---|---|
value | T |
context | MethodDecoratorContext |
戻り値
Op<T>
定義
op.ts:386 ▸ op(options): MethodDecorator
パラメータ
| 名前 | 型 |
|---|---|
options | Partial<OpOptions<any>> |
戻り値
MethodDecorator