Skip to content

Commit

Permalink
fix(gatsby): Correct server type (gatsbyjs#32853)
Browse files Browse the repository at this point in the history
  • Loading branch information
herecydev authored Aug 20, 2021
1 parent ffa6ed1 commit 85faee3
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions packages/gatsby/src/utils/start-server.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit 85faee3

Please sign in to comment.