diff --git a/package.json b/package.json index 34c3f885..41979eaf 100644 --- a/package.json +++ b/package.json @@ -35,7 +35,7 @@ }, "homepage": "https://github.com/eggjs/core#readme", "dependencies": { - "@eggjs/koa": "^2.20.1", + "@eggjs/koa": "^2.20.2", "@eggjs/router": "^3.0.5", "@eggjs/utils": "^4.0.2", "egg-logger": "^3.5.0", diff --git a/src/egg.ts b/src/egg.ts index 79d8fd56..8e3b2943 100644 --- a/src/egg.ts +++ b/src/egg.ts @@ -37,6 +37,7 @@ export type EggCoreInitOptions = Partial; // export @eggjs/koa classes export { KoaRequest, KoaResponse, KoaContext, KoaApplication, + Router, }; // export @eggjs/koa types