[webpack] Fix webpack types: use anymatch.Matcher for watchOptions.ignored (#30480)
[webpack] Fix webpack types: use anymatch.Matcher for watchOptions.ignored (#30480)

* Fix webpack types

* Fix lint error

dsebastien/DefinitelyTyped,georgemarshall/DefinitelyTyped,borisyankov/DefinitelyTyped,magny/DefinitelyTyped,magny/DefinitelyTyped,borisyankov/DefinitelyTyped,markogresak/DefinitelyTyped,dsebastien/DefinitelyTyped,georgemarshall/DefinitelyTyped,mcliment/DefinitelyTyped,georgemarshall/DefinitelyTyped,georgemarshall/DefinitelyTyped