Skip to content

Commit

Permalink
fix: export Router Class
Browse files Browse the repository at this point in the history
  • Loading branch information
fengmk2 committed Dec 19, 2024
1 parent 09a0c39 commit d7be5a1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
1 change: 1 addition & 0 deletions src/egg.ts
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@ export type EggCoreInitOptions = Partial<EggCoreOptions>;
// export @eggjs/koa classes
export {
KoaRequest, KoaResponse, KoaContext, KoaApplication,
Router,
};

// export @eggjs/koa types
Expand Down

0 comments on commit d7be5a1

Please sign in to comment.