UNPKG

routing-controllers

Version:

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

5 lines (4 loc) 123 B
import { Action } from './Action'; export interface RoleChecker { check(action: Action): boolean | Promise<boolean>; }