Skip to content

Commit

Permalink
fix(typescript): provider.callback getter type regression fixed
Browse files Browse the repository at this point in the history
closes #534
  • Loading branch information
panva committed Sep 24, 2019
1 parent 0f99a9b commit 5cea116
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion types/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1068,7 +1068,7 @@ export class Provider extends events.EventEmitter {

readonly issuer: string;
readonly app: Koa;
readonly callback: Koa['callback'];
readonly callback: (req: http.IncomingMessage | http2.Http2ServerRequest, res: http.ServerResponse | http2.Http2ServerResponse) => void;

env?: Koa['env'];
proxy?: Koa['proxy'];
Expand Down

0 comments on commit 5cea116

Please sign in to comment.