diff --git a/.gitignore b/.gitignore index e6e325021c..8fe303468d 100644 --- a/.gitignore +++ b/.gitignore @@ -35,3 +35,4 @@ site/dist .umi .umi-production .vercel +package-lock.json diff --git a/index.d.ts b/index.d.ts index abe14cebe6..7578182fda 100644 --- a/index.d.ts +++ b/index.d.ts @@ -573,7 +573,7 @@ declare module 'egg' { methods: string[]; } - export interface EggApplication extends EggCoreBase { // tslint:disable-line + export interface EggApplication extends Omit, 'ctxStorage' | 'currentContext'> { /** * HttpClient instance */ diff --git a/package.json b/package.json index f3ce859070..e90625374f 100644 --- a/package.json +++ b/package.json @@ -27,7 +27,7 @@ "delegates": "^1.0.0", "egg-cluster": "^2.0.0", "egg-cookies": "^2.6.1", - "egg-core": "^5.3.0", + "egg-core": "^5.4.0", "egg-development": "^2.7.0", "egg-errors": "^2.3.1", "egg-i18n": "^2.1.1",