From 39150f4ac8cad535ff8d0db6545b85e80a78d62f Mon Sep 17 00:00:00 2001 From: Oliver Joseph Ash Date: Fri, 26 Jan 2018 17:01:36 +0000 Subject: [PATCH] webpack: `WatchOptions.ignored` accepts `string[]` (#23214) https://webpack.js.org/configuration/watch/#watchoptions-ignored https://github.com/micromatch/anymatch --- types/webpack/index.d.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/types/webpack/index.d.ts b/types/webpack/index.d.ts index db8bb35c72..ccd809c46b 100644 --- a/types/webpack/index.d.ts +++ b/types/webpack/index.d.ts @@ -516,7 +516,7 @@ declare namespace webpack { * It is possible to exclude a huge folder like node_modules. * It is also possible to use anymatch patterns. */ - ignored?: string | RegExp; + ignored?: string | string[] | RegExp; /** Turn on polling by passing true, or specifying a poll interval in milliseconds. */ poll?: boolean | number; }