Skip to content

Commit

Permalink
feat: add Http2SecureServer
Browse files Browse the repository at this point in the history
  • Loading branch information
gajus committed Mar 10, 2022
1 parent 4b8336b commit aabca47
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/types.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
import type {
Server as HttpServer,
} from 'http';
import type {
Http2SecureServer,
} from 'http2';
import type {
Server as HttpsServer,
} from 'https';
Expand All @@ -17,7 +20,7 @@ import type {
*/
export type HttpTerminatorConfigurationInput = {
readonly gracefulTerminationTimeout?: number,
readonly server: HttpServer | HttpsServer,
readonly server: Http2SecureServer | HttpServer | HttpsServer,
};

/**
Expand Down

0 comments on commit aabca47

Please # to comment.