UNPKG

@methodus/server

Version:
8 lines (7 loc) 478 B
import 'reflect-metadata'; import { MethodType, ServerType } from '../interfaces'; /** the MethodConfig decorator registers the controller as a router * @param {string} name - the identifier of the controller in the resolver. * @param {Function[]} middlewares - an array of middlewares to apply to this controller} */ export declare function ClientConfiguration(controller: any, methodType: MethodType, serverType: ServerType, resolver?: any): (target: any) => any;