Skip to content

Commit

Permalink
fix: omit koa application ctxStorage and currentContext define (#5285)
Browse files Browse the repository at this point in the history
  • Loading branch information
fengmk2 committed Jan 11, 2024
1 parent fcf3b73 commit 4c24dac
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions .gitignore
Expand Up @@ -35,3 +35,4 @@ site/dist
.umi
.umi-production
.vercel
package-lock.json
2 changes: 1 addition & 1 deletion index.d.ts
Expand Up @@ -573,7 +573,7 @@ declare module 'egg' {
methods: string[];
}

export interface EggApplication extends EggCoreBase<EggAppConfig> { // tslint:disable-line
export interface EggApplication extends Omit<EggCoreBase<EggAppConfig>, 'ctxStorage' | 'currentContext'> {
/**
* HttpClient instance
*/
Expand Down
2 changes: 1 addition & 1 deletion package.json
Expand Up @@ -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",
Expand Down

0 comments on commit 4c24dac

Please sign in to comment.