mirror of
https://github.com/zhigang1992/DefinitelyTyped.git
synced 2026-04-19 16:49:45 +08:00
Fix WatchIgnorePlugin constructor to allow heterogeneous array of string and RegExp entries
This commit is contained in:
2
types/webpack/index.d.ts
vendored
2
types/webpack/index.d.ts
vendored
@@ -919,7 +919,7 @@ declare namespace webpack {
|
||||
}
|
||||
|
||||
class WatchIgnorePlugin extends Plugin {
|
||||
constructor(paths: string[] | RegExp[]);
|
||||
constructor(paths: (string | RegExp)[]);
|
||||
}
|
||||
|
||||
namespace optimize {
|
||||
|
||||
Reference in New Issue
Block a user