MethodDecoratorOf
MethodDecoratorOf<TArgs, TReturn>: <Z, K>(target: Z, key: K, descriptor: TypedPropertyDescriptor<(...args: TArgs) => TReturn>) => TypedPropertyDescriptor<(...args: TArgs) => TReturn> | void
Type parameters
-
TArgs: [any] | [any, any] | [any, any, any] | [any, any, any, any] | [any, any, any, any, any] | [any, any, any, any, any, any] | [any, any, any, any, any, any, any]
-
TReturn
Type declaration
-
- <Z, K>(target: Z, key: K, descriptor: TypedPropertyDescriptor<(...args: TArgs) => TReturn>): TypedPropertyDescriptor<(...args: TArgs) => TReturn> | void
-
Type parameters
-
Z: Partial<Record<K, (...args: TArgs) => TReturn>>
-
K: string
Parameters
-
target: Z
-
key: K
-
descriptor: TypedPropertyDescriptor<(...args: TArgs) => TReturn>
Returns TypedPropertyDescriptor<(...args: TArgs) => TReturn> | void