Skip to main content

HookMethodDecorator

@quik/entity


@quik/entity / HookMethodDecorator

Type Alias: HookMethodDecorator

HookMethodDecorator = (target, context) => MethodDecoratorType<QEntity, any[], unknown>

Defined in: entity/src/decorators/Hooks.ts:35

Decorator type for entity hook methods.

Parameters

target

MethodDecoratorType<QEntity, any[], unknown>

context

ClassMethodDecoratorContext

Returns

MethodDecoratorType<QEntity, any[], unknown>