diff --git a/types/webpack-dev-server/index.d.ts b/types/webpack-dev-server/index.d.ts index 435d2547d9..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 2.9 +// Type definitions for webpack-dev-server 3.1 // 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. */