Merge pull request #28362 from damian-codilime/patch-1

[webpack-dev-server] Updated stats interface to match webpack interface
This commit is contained in:
Armando Aguirre
2018-08-29 11:32:20 -07:00
committed by GitHub
+2 -2
View File
@@ -1,4 +1,4 @@
// Type definitions for webpack-dev-server 2.9
// Type definitions for webpack-dev-server 3.1
// Project: https://github.com/webpack/webpack-dev-server
// Definitions by: maestroh <https://github.com/maestroh>
// Dave Parslow <https://github.com/daveparslow>
@@ -158,7 +158,7 @@ declare namespace WebpackDevServer {
* This option lets you precisely control what bundle information gets displayed.
* This can be a nice middle ground if you want some bundle information, but not all of it.
*/
stats?: string | webpack.Stats;
stats?: string | webpack.Options.Stats;
/** This option lets the browser open with your local IP. */
useLocalIp?: boolean;
/** Tell the server to watch the files served by the devServer.contentBase option. File changes will trigger a full page reload. */