Skip to main content

Call Signature

op<T>(fn, options?): Op<T>
Defined in: src/op.ts:380

Type Parameters

T

T extends (…args) => any

Parameters

fn

T

options?

OpOptions<T>

Returns

Op<T>

Call Signature

op<T>(thisArg, fn, options?): Op<T>
Defined in: src/op.ts:385

Type Parameters

T

T extends (…args) => any

Parameters

thisArg

any

fn

T

options?

OpOptions<T>

Returns

Op<T>

Call Signature

op(target, propertyKey, descriptor): TypedPropertyDescriptor<any>
Defined in: src/op.ts:391

Parameters

target

object

propertyKey

string | symbol

descriptor

TypedPropertyDescriptor<any>

Returns

TypedPropertyDescriptor<any>

Call Signature

op<T>(value, context): Op<T>
Defined in: src/op.ts:397

Type Parameters

T

T extends (…args) => any

Parameters

value

T

context

MethodDecoratorContext

Returns

Op<T>

Call Signature

op(options): MethodDecorator
Defined in: src/op.ts:402

Parameters

options

Partial<OpOptions<any>>

Returns

MethodDecorator