fix 'can not find name' issue

This commit is contained in:
DavidCai
2016-01-20 12:45:33 +08:00
parent 96c7488d5f
commit 5bf306a3f2
+3 -2
View File
@@ -130,6 +130,7 @@ declare module "koa" {
onerror(err: any): void;
}
let K: typeof Koa;
export = K
namespace Koa {}
export = Koa;
}