Skip to content

Commit

Permalink
fix: add key any to Context (eggjs#2650)
Browse files Browse the repository at this point in the history
  • Loading branch information
whxaxes authored and atian25 committed Jun 5, 2018
1 parent 65a43aa commit e5737d5
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -668,6 +668,8 @@ declare module 'egg' {
}

export interface Context extends KoaApplication.Context {
[key: string]: any;

app: Application;

service: IService;
Expand Down

0 comments on commit e5737d5

Please sign in to comment.