Merge pull request #26220 from rynclark/patch-2

[webpack-hot-client] Allow either HTTP or HTTPS server
This commit is contained in:
Armando Aguirre
2018-06-04 17:47:37 -07:00
committed by GitHub

View File

@@ -7,7 +7,7 @@
/// <reference types="node" />
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;
}