UNPKG

naily

Version:

写了一个没有模块系统的 Minimal Nest.js 写着玩的~

5 lines (4 loc) 412 B
import { Application } from "express-serve-static-core"; import { IinitParameter } from "../common/parameter"; import { IControllerMetadata } from "../decorator/http.decorator"; export declare function initMethod(method: "get" | "post" | "put" | "patch" | "options" | "delete" | "all", urlPath: string, app: Application, metadata: IinitParameter, controllerMetadata: IControllerMetadata, element: string): void;