Skip to content

Conversation

@sandersn
Copy link
Member

Don't touch anything else in the DOM. Less consistent with @types/web than #45553, but safer to ship late in 4.4's release.

Don't touch anything else in the DOM.
@typescript-bot typescript-bot added Author: Team For Uncommitted Bug PR for untriaged, rejected, closed or missing bug labels Aug 23, 2021
@andrewbranch
Copy link
Member

I’m assuming the https://github.com/microsoft/TypeScript/pull/45554/files#diff-649a115a1a1a9a6c5eeefa536f5e12d3ef96bfc1c9ea437c42aa28f685ad6960 diff made sense when you viewed it locally; it references DOM types in it so I guess line numbers just changed on super long lines?

@sandersn
Copy link
Member Author

Yep, it's just a dump of most of the DOM types, and Window lost its HTMLDocument member, replaced by the global declare var HTMLDocument

@sandersn sandersn merged commit b8ace9d into main Aug 23, 2021
@sandersn sandersn deleted the restore-HTMLDocument-var-to-dom branch August 23, 2021 22:56
@sandersn
Copy link
Member Author

@typescript-bot cherry-pick this to release-4.4

@typescript-bot
Copy link
Collaborator

typescript-bot commented Aug 23, 2021

Heya @sandersn, I've started to run the task to cherry-pick this into release-4.4 on this PR at c9846f8. You can monitor the build here.

@typescript-bot
Copy link
Collaborator

Hey @sandersn, I've opened #45555 for you.

typescript-bot pushed a commit to typescript-bot/TypeScript that referenced this pull request Aug 23, 2021
Component commits:
c9846f8 Restore HTMLDocument constructable value in DOM
Don't touch anything else in the DOM.
sandersn added a commit that referenced this pull request Aug 23, 2021
Component commits:
c9846f8 Restore HTMLDocument constructable value in DOM
Don't touch anything else in the DOM.

Co-authored-by: Nathan Shively-Sanders <[email protected]>
BobobUnicorn pushed a commit to BobobUnicorn/TypeScript that referenced this pull request Oct 24, 2021
@microsoft microsoft locked as resolved and limited conversation to collaborators Oct 21, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

Author: Team For Uncommitted Bug PR for untriaged, rejected, closed or missing bug

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants