@tsed/common
Version:
A TypeScript Framework on top of Express
22 lines (21 loc) • 490 B
TypeScript
/**
* Mounts the specified middleware function or functions at the specified path: the middleware function is executed when
* the base of the requested path matches `path.
*
* ```typescript
* @Controller('/')
* @UseAfter(Middleware1)
* export class Ctrl {
*
* @Get('/')
* @UseAfter(Middleware2)
* get() { }
* }
* ```
*
* @returns {function(any, any, any): *}
* @param args
* @decorator
* @operation
*/
export declare function UseAfter(...args: any[]): Function;