Interface: OnQueryDecorator()
Defined in: src/wirestate-core/plugin/queries/on-query.ts:55
Describes the decorator returned by OnQuery.
Remarks
Supports both TC39 and legacy experimental decorators.
Call Signature
ts
OnQueryDecorator<This>(value: (this: This, ...args: never[]) => unknown, context: ClassMethodDecoratorContext<This>): void;Defined in: src/wirestate-core/plugin/queries/on-query.ts:57
Describes the decorator returned by OnQuery.
Type Parameters
| Type Parameter |
|---|
This |
Parameters
| Parameter | Type |
|---|---|
value | (this: This, ...args: never[]) => unknown |
context | ClassMethodDecoratorContext<This> |
Returns
void
Remarks
Supports both TC39 and legacy experimental decorators.
Call Signature
ts
OnQueryDecorator(
target: object,
propertyKey: string | symbol,
descriptor: PropertyDescriptor): void;Defined in: src/wirestate-core/plugin/queries/on-query.ts:59
Describes the decorator returned by OnQuery.
Parameters
| Parameter | Type |
|---|---|
target | object |
propertyKey | string | symbol |
descriptor | PropertyDescriptor |
Returns
void
Remarks
Supports both TC39 and legacy experimental decorators.