diff --git a/src/types.ts b/src/types.ts index 90ed29b..a247939 100644 --- a/src/types.ts +++ b/src/types.ts @@ -61,7 +61,7 @@ type createSecureHttp2Options = { createServer?: typeof createSecureHttp2Server } -type ServerOptions = +export type ServerOptions = | createHttpOptions | createHttpsOptions | createHttp2Options