lakutata
Version:
An IoC-based universal application framework.
19 lines (15 loc) • 677 B
TypeScript
import { MethodDecorator } from './TypeDef.internal.100.js';
import { AfterFunction, BeforeFunction } from './TypeDef.internal.116.js';
/**
* Method Decorator
* @param afterFunc
* @constructor
*/
declare function After<ClassPrototype extends Object, Method extends (...args: any[]) => unknown>(afterFunc: AfterFunction<ClassPrototype, Method>): MethodDecorator<ClassPrototype, Method>;
/**
* Method Decorator
* @param beforeFunc
* @constructor
*/
declare function Before<ClassPrototype extends Object, Method extends (...args: any[]) => unknown>(beforeFunc: BeforeFunction<ClassPrototype, Method>): MethodDecorator<ClassPrototype, Method>;
export { After, Before };