Skip to content

Commit

Permalink
Package files
Browse files Browse the repository at this point in the history
Types fix
  • Loading branch information
seidelmartin committed Mar 2, 2020
1 parent bc5c043 commit 38cff49
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 3 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,9 @@
"version": "0.0.0",
"description": "Koa HTTP adapter for Nest.js",
"main": "dist/index.js",
"files": [
"dist"
],
"scripts": {
"test": "mocha",
"build:publish": "tsc --project tsconfig.publish.json",
Expand Down
2 changes: 1 addition & 1 deletion src/NestKoaMiddleware.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ export interface NestKoaMiddleware {
}

export const koaToNestMiddleware = (
middleware: Koa.Middleware,
middleware: Koa.Middleware<any, any>,
): NestKoaFunctionalMiddleware => (
req: Koa.Request,
res: Koa.Response,
Expand Down

0 comments on commit 38cff49

Please sign in to comment.