UNPKG

@methodus/server

Version:
8 lines (7 loc) 460 B
import 'reflect-metadata'; /** the @MethodMock decorator registers the model with the odm * @param {Verbs} verb - the HTTP verb for the route. * @param {string} route - express route string. * @param {Function[]} middlewares - an array of middlewares to apply to this function} */ export declare function MethodMock(mockedResult: any): (target: any, propertyKey: string, descriptor: TypedPropertyDescriptor<any>) => TypedPropertyDescriptor<any>;