Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 49c8ecf

Browse files
add "generateDoc" as static in class Route
1 parent 5f113f0 commit 49c8ecf

4 files changed

Lines changed: 7 additions & 3 deletions

File tree

dist/routes/Route.d.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
import KoaRouter from 'koa-router';
22
import Koa from 'koa';
3+
import { generateDoc } from '../utils/docGenerator';
34
import { ParamsMethodDecorator, ParamsClassDecorator } from './RouteDecorators';
45
export interface BeforeRouteParams {
56
/**
@@ -65,6 +66,7 @@ export default class Route {
6566
*/
6667
static displayLog: boolean;
6768
static StatusCode: import("../utils/StatusCode").StatusCode;
69+
static generateDoc: typeof generateDoc;
6870
koaApp: Koa;
6971
prefix: string;
7072
allRoutesInstance: Route[];

dist/routes/Route.js

Lines changed: 2 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)