UNPKG

@dechamp/express-auto-route

Version:

An express auto route module which allows routes and middleware to be configured via config file.

6 lines (5 loc) 205 B
export default class AutoRoutePluginCallback { private readonly middlewares; constructor(middlewares?: any[]); buildCallback(route: any): ((req: any, res: any, next: any) => Promise<any>)[]; }