From a525c4b476b3df44d661c9c7f3eb9b9bfcf9e77f Mon Sep 17 00:00:00 2001 From: Alan Agius Date: Wed, 20 Jun 2018 22:06:10 +0200 Subject: [PATCH] webpack: add `all` to `ToJsonOptionsObject` --- types/webpack/index.d.ts | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/types/webpack/index.d.ts b/types/webpack/index.d.ts index 7e3f7fdaf2..881061a3cd 100644 --- a/types/webpack/index.d.ts +++ b/types/webpack/index.d.ts @@ -72,7 +72,8 @@ declare namespace webpack { * - "async-node" Compile for usage in a node.js-like environment (use fs and vm to load chunks async). * - "node-webkit" Compile for usage in webkit, uses jsonp chunk loading but also supports builtin node.js modules plus require(“nw.gui”) (experimental) * - "atom" Compile for usage in electron (formerly known as atom-shell), supports require for modules necessary to run Electron. - * - "electron-renderer" Compile for Electron for renderer process, providing a target using JsonpTemplatePlugin, FunctionModulePlugin for browser environments and NodeTargetPlugin and ExternalsPlugin for CommonJS and Electron built-in modules. + * - "electron-renderer" Compile for Electron for renderer process, providing a target using JsonpTemplatePlugin, FunctionModulePlugin for browser + * environments and NodeTargetPlugin and ExternalsPlugin for CommonJS and Electron built-in modules. * - "electron-main" Compile for Electron for main process. * - "atom" Alias for electron-main. * - "electron" Alias for electron-main. @@ -1093,6 +1094,8 @@ declare namespace webpack { | 'verbose'; interface ToJsonOptionsObject { + /** fallback value for stats options when an option is not defined (has precedence over local webpack defaults) */ + all?: boolean; /** Add asset Information */ assets?: boolean; /** Sort assets by a field */