From aabca4751552e983f8a59ba896b7fb58ce3b4087 Mon Sep 17 00:00:00 2001 From: Gajus Kuizinas Date: Thu, 10 Mar 2022 10:36:56 -0600 Subject: [PATCH] feat: add Http2SecureServer --- src/types.ts | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/types.ts b/src/types.ts index 2e68c277..a9b9486e 100644 --- a/src/types.ts +++ b/src/types.ts @@ -1,6 +1,9 @@ import type { Server as HttpServer, } from 'http'; +import type { + Http2SecureServer, +} from 'http2'; import type { Server as HttpsServer, } from 'https'; @@ -17,7 +20,7 @@ import type { */ export type HttpTerminatorConfigurationInput = { readonly gracefulTerminationTimeout?: number, - readonly server: HttpServer | HttpsServer, + readonly server: Http2SecureServer | HttpServer | HttpsServer, }; /**