From e5737d5455d536b908f37ba367446e511f30e663 Mon Sep 17 00:00:00 2001 From: Axes Date: Tue, 5 Jun 2018 19:06:09 +0700 Subject: [PATCH] fix: add key any to Context (#2650) --- index.d.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/index.d.ts b/index.d.ts index d561d97ef3..78afd078c7 100644 --- a/index.d.ts +++ b/index.d.ts @@ -668,6 +668,8 @@ declare module 'egg' { } export interface Context extends KoaApplication.Context { + [key: string]: any; + app: Application; service: IService;