Skip to content

Commit

Permalink
Merge pull request #131 from astashov/improve-middleware-types
Browse files Browse the repository at this point in the history
Explicitly specify `Koa.Middleware` params in typings
  • Loading branch information
MarkHerhold committed Feb 8, 2019
2 parents 6f7cba4 + f848362 commit 183e58c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion index.d.ts
Expand Up @@ -152,6 +152,6 @@ declare namespace koaBody {
}
}

declare function koaBody (options?: koaBody.IKoaBodyOptions): Koa.Middleware;
declare function koaBody (options?: koaBody.IKoaBodyOptions): Koa.Middleware<{}, {}>;

export = koaBody;

0 comments on commit 183e58c

Please sign in to comment.