From 85faee335497e1a7eab58fbd15d4c14531b021b8 Mon Sep 17 00:00:00 2001 From: Dan Kirkham Date: Fri, 20 Aug 2021 09:32:33 +0100 Subject: [PATCH] fix(gatsby): Correct server type (#32853) --- packages/gatsby/src/utils/start-server.ts | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/packages/gatsby/src/utils/start-server.ts b/packages/gatsby/src/utils/start-server.ts index c0ce6ecfe2491..071f9c1db02e6 100644 --- a/packages/gatsby/src/utils/start-server.ts +++ b/packages/gatsby/src/utils/start-server.ts @@ -15,7 +15,6 @@ import { } from "graphql" import { isCI } from "gatsby-core-utils" import http from "http" -import https from "https" import cors from "cors" import telemetry from "gatsby-telemetry" import launchEditor from "react-dev-utils/launchEditor" @@ -58,7 +57,7 @@ type ActivityTracker = any // TODO: Replace this with proper type once reporter interface IServer { compiler: webpack.Compiler - listener: http.Server | https.Server + listener: http.Server webpackActivity: ActivityTracker cancelDevJSNotice: CancelExperimentNoticeCallbackOrUndefined websocketManager: WebsocketManager