Skip to content

Update lib.dom.d.ts, MutationObserverInit.attributeFilter can accept an iterator - #50031

Closed
trusktr wants to merge 1 commit into
microsoft:mainfrom
trusktr:patch-2
Closed

Update lib.dom.d.ts, MutationObserverInit.attributeFilter can accept an iterator#50031
trusktr wants to merge 1 commit into
microsoft:mainfrom
trusktr:patch-2

Conversation

@trusktr

Copy link
Copy Markdown
Contributor

I have a feeling this is in the wrong place, but figured I'd get started and then redirected. Iterators work fine in this location:

constobs=newMutationObserver(...)constm=newMap()// ... set some keys on the map ...obs.observe(el,{attributeFilter: m.keys()// it works})

Further explanation: whatwg/dom#1092

Fixes #

`MutationObserverInit.attributeFilter` can accept an iterator
@typescript-bot

Copy link
Copy Markdown
Contributor

It looks like you've sent a pull request to update our 'lib' files. These files aren't meant to be edited by hand, as they consist of last-known good states of the compiler and are generated from 'src/lib' or possibly our lib generator. Unless this is necessary, consider closing the pull request and sending a separate PR to update 'src/lib' or https://github.com/microsoft/TypeScript-DOM-lib-generator

@typescript-bottypescript-bot added the lib update PR modifies files in the `lib` folder label Jul 25, 2022
@typescript-bot

Copy link
Copy Markdown
Contributor

It looks like you've sent a pull request to update some generated declaration files related to the DOM. These files aren't meant to be edited by hand, as they are synchronized with files in the TSJS-lib-generator repository. You can read more here. For house-keeping purposes, this pull request will be closed.

@typescript-bot

Copy link
Copy Markdown
Contributor

This PR doesn't have any linked issues. Please open an issue that references this PR. From there we can discuss and prioritise.

@typescript-bottypescript-bot added the For Uncommitted Bug PR for untriaged, rejected, closed or missing bug label Jul 25, 2022
@typescript-bot

Copy link
Copy Markdown
Contributor

This PR doesn't have any linked issues. Please open an issue that references this PR. From there we can discuss and prioritise.

@trusktr

Copy link
Copy Markdown
ContributorAuthor

This is still an issue. How do we fix it?

@microsoftmicrosoft locked as resolved and limited conversation to collaborators Oct 22, 2025
Sign up for freeto subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

For Uncommitted BugPR for untriaged, rejected, closed or missing buglib updatePR modifies files in the `lib` folder

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants

@trusktr@typescript-bot