UNPKG

836 BTypeScriptView Raw
1/**
2 * Specifies a given middleware to be used for controller or controller action AFTER the action executes.
3 * Must be set to controller action or controller class.
4 */
5export declare function UseAfter(...middlewares: Array<Function>): Function;
6/**
7 * Specifies a given middleware to be used for controller or controller action AFTER the action executes.
8 * Must be set to controller action or controller class.
9 */
10export declare function UseAfter(...middlewares: Array<(context: any, next: () => Promise<any>) => Promise<any>>): Function;
11/**
12 * Specifies a given middleware to be used for controller or controller action AFTER the action executes.
13 * Must be set to controller action or controller class.
14 */
15export declare function UseAfter(...middlewares: Array<(request: any, response: any, next: Function) => any>): Function;