diff --git a/types/webpack-dev-server/index.d.ts b/types/webpack-dev-server/index.d.ts index 435d2547d9..62b6cedbc2 100644 --- a/types/webpack-dev-server/index.d.ts +++ b/types/webpack-dev-server/index.d.ts @@ -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. */