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. */