UNPKG

@methodus/server

Version:

Server components for @methodus workflow

5 lines (4 loc) 359 B
import 'reflect-metadata'; export declare function verbBasedMethod(target: any, propertyKey: string, descriptor: TypedPropertyDescriptor<any>, verb?: string, route?: string, middlewares?: Function[]): TypedPropertyDescriptor<any>; export declare function handleResult(methodResult: any): Promise<any>; export declare function validateServerIsRunning(): void;