Fix WatchIgnorePlugin constructor to allow heterogeneous array of string and RegExp entries

This commit is contained in:
Bijan Vakili
2017-08-20 20:25:04 -07:00
parent 13934bdb99
commit 83615efbef

View File

@@ -919,7 +919,7 @@ declare namespace webpack {
}
class WatchIgnorePlugin extends Plugin {
constructor(paths: string[] | RegExp[]);
constructor(paths: (string | RegExp)[]);
}
namespace optimize {