From 00f5624ca82bc6f6f215e178b9ce37517f8ef572 Mon Sep 17 00:00:00 2001 From: waiting <1661926154@qq.com> Date: Mon, 9 Apr 2018 11:03:07 +0800 Subject: [PATCH] chore(typings): comment private method of EggLoader out --- index.d.ts | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/index.d.ts b/index.d.ts index 5303230aaf..bd7b94d903 100644 --- a/index.d.ts +++ b/index.d.ts @@ -985,12 +985,6 @@ declare module 'egg' { constructor(options: EggLoaderOptions); - private getServerEnv(): string; // not exists EggAppInfo['env'] - - private getServerScope(): EggAppInfo['scope']; - - private getAppname(): EggAppInfo['name']; - getHomedir(): EggAppInfo['HOME'] getAppInfo(): EggAppInfo; @@ -998,7 +992,13 @@ declare module 'egg' { /** * @return {Array} framework directories */ - private getEggPaths(): string[]; + // private getEggPaths(): string[]; + + // private getServerEnv(): string; // not exists EggAppInfo['env'] + + // private getServerScope(): EggAppInfo['scope']; + + // private getAppname(): EggAppInfo['name']; } /**