UNPKG

routing-controllers

Version:

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

6 lines (5 loc) 175 B
import { Action } from './Action'; /** * Special function used to get currently authorized user. */ export type CurrentUserChecker = (action: Action) => Promise<any> | any;