UNPKG

routing-controllers

Version:

Create structured, declarative and beautifully organized class-based controllers with heavy decorators usage for Express / Koa using TypeScript.

23 lines (22 loc) 398 B
/** * Controller action properties. */ export interface Action { /** * Action Request object. */ request: any; /** * Action Response object. */ response: any; /** * Content in which action is executed. * Koa-specific property. */ context?: any; /** * "Next" function used to call next middleware. */ next?: Function; }