mirror of
https://github.com/zhigang1992/DefinitelyTyped.git
synced 2026-04-20 12:46:36 +08:00
Merge pull request #17526 from donaldpipowitch/patch-8
performance.hints in webpack can't be true
This commit is contained in:
2
types/webpack/index.d.ts
vendored
2
types/webpack/index.d.ts
vendored
@@ -503,7 +503,7 @@ declare namespace webpack {
|
||||
* Turns hints on/off. In addition, tells webpack to throw either an error or a warning when hints are
|
||||
* found. This property is set to "warning" by default.
|
||||
*/
|
||||
hints?: 'warning' | 'error' | boolean;
|
||||
hints?: 'warning' | 'error' | false;
|
||||
/**
|
||||
* An asset is any emitted file from webpack. This option controls when webpack emits a performance hint
|
||||
* based on individual asset size. The default value is 250000 (bytes).
|
||||
|
||||
Reference in New Issue
Block a user