From f38d94dad653f6f770606887e1b5faa0f2dcd98a Mon Sep 17 00:00:00 2001 From: Joe Pea Date: Sun, 24 Jul 2022 23:04:53 -0700 Subject: [PATCH] Update lib.dom.d.ts `MutationObserverInit.attributeFilter` can accept an iterator --- lib/lib.dom.d.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/lib.dom.d.ts b/lib/lib.dom.d.ts index ca3ce067a05b7..09eb086868f95 100644 --- a/lib/lib.dom.d.ts +++ b/lib/lib.dom.d.ts @@ -894,7 +894,7 @@ interface MutationObserverInit { /** * Set to a list of attribute local names (without namespace) if not all attribute mutations need to be observed and attributes is true or omitted. */ - attributeFilter?: string[]; + attributeFilter?: string[] || IterableIterator; /** * Set to true if attributes is true or omitted and target's attribute value before the mutation needs to be recorded. */