Skip to content

Commit

Permalink
fix: correct TS typings
Browse files Browse the repository at this point in the history
  • Loading branch information
AndreyBelym authored Sep 13, 2022
1 parent 8fb430d commit 0aa7cdb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/proxy/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@ export default class Proxy extends Router {
return opts;
}

_getCreateServerMethod (ssl?: {}) {
_getCreateServerMethod (ssl?: {}): typeof http.createServer {
return ssl ? https.createServer : http.createServer;
}

Expand Down

0 comments on commit 0aa7cdb

Please sign in to comment.