mirror of
https://github.com/zhigang1992/DefinitelyTyped.git
synced 2026-05-31 19:12:20 +08:00
Merge pull request #26220 from rynclark/patch-2
[webpack-hot-client] Allow either HTTP or HTTPS server
This commit is contained in:
4
types/webpack-hot-client/index.d.ts
vendored
4
types/webpack-hot-client/index.d.ts
vendored
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user