From 7ac1e72f0569662fc71b1252c17c79a4a263792e Mon Sep 17 00:00:00 2001 From: Damian Osipiuk Date: Fri, 24 Aug 2018 16:59:19 +0200 Subject: [PATCH 1/2] Updated stats interface to match webpack interface --- types/webpack-dev-server/index.d.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/types/webpack-dev-server/index.d.ts b/types/webpack-dev-server/index.d.ts index 435d2547d9..3fa17e8645 100644 --- a/types/webpack-dev-server/index.d.ts +++ b/types/webpack-dev-server/index.d.ts @@ -1,4 +1,4 @@ -// Type definitions for webpack-dev-server 2.9 +// Type definitions for webpack-dev-server 3.1.5 // Project: https://github.com/webpack/webpack-dev-server // Definitions by: maestroh // Dave Parslow @@ -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. */ From 527598116de27af5be13df260d3ae70ac43829b0 Mon Sep 17 00:00:00 2001 From: Damian Osipiuk Date: Fri, 24 Aug 2018 17:16:13 +0200 Subject: [PATCH 2/2] Removed patch from version --- types/webpack-dev-server/index.d.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/types/webpack-dev-server/index.d.ts b/types/webpack-dev-server/index.d.ts index 3fa17e8645..647d2407ed 100644 --- a/types/webpack-dev-server/index.d.ts +++ b/types/webpack-dev-server/index.d.ts @@ -1,4 +1,4 @@ -// Type definitions for webpack-dev-server 3.1.5 +// Type definitions for webpack-dev-server 3.1 // Project: https://github.com/webpack/webpack-dev-server // Definitions by: maestroh // Dave Parslow