diff --git a/types/webpack-hot-client/index.d.ts b/types/webpack-hot-client/index.d.ts index 337581fedb..295e6819be 100644 --- a/types/webpack-hot-client/index.d.ts +++ b/types/webpack-hot-client/index.d.ts @@ -7,7 +7,7 @@ /// import * as webpack from 'webpack'; -import * as http from 'http'; +import * as net from 'net'; export = WebpackHotClient; @@ -44,7 +44,7 @@ declare namespace WebpackHotClient { /** Reload the page if a patch cannot be applied by webpack */ reload?: boolean; /** Server instance for webpack-hot-client to connect to */ - server?: http.Server; + server?: net.Server; /** Webpack stats configuration */ stats?: webpack.Options.Stats; }