UNPKG

@methodus/server

Version:
4 lines (3 loc) 251 B
import 'reflect-metadata'; import { Verbs } from '../rest'; export declare function Method(verb: Verbs, route: string, middlewares?: any[]): (target: any, propertyKey: string, descriptor: TypedPropertyDescriptor<any>) => TypedPropertyDescriptor<any>;