diff --git a/types/webpack/index.d.ts b/types/webpack/index.d.ts index 40ce95bcad..469fd67076 100644 --- a/types/webpack/index.d.ts +++ b/types/webpack/index.d.ts @@ -15,6 +15,7 @@ // John Reilly // Ryan Waskiewicz // Kyle Uehlein +// Grgur Grisogono // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped // TypeScript Version: 2.3 @@ -1228,7 +1229,7 @@ declare namespace webpack { interface ToStringOptionsObject extends ToJsonOptionsObject { /** `webpack --colors` equivalent */ - colors?: boolean; + colors?: boolean | string; } type ToStringOptions = Preset | ToStringOptionsObject;