Skip to content

Commit cdd245c

Browse files
committed
fix(typings): Property 'scope' does not exist on type 'EggAppInfo'.
1 parent fc5663a commit cdd245c

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

index.d.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1040,12 +1040,13 @@ declare module 'egg' {
10401040
plugins?: any;
10411041
}
10421042

1043+
// egg-core
10431044
class EggLoader {
10441045
options: EggLoaderOptions;
10451046

10461047
constructor(options: EggLoaderOptions);
10471048

1048-
private getServerEnv(): EggAppInfo['env'];
1049+
private getServerEnv(): string; // not exists EggAppInfo['env']
10491050

10501051
private getServerScope(): EggAppInfo['scope'];
10511052

0 commit comments

Comments
 (0)