Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

TypeScript 4.5 libdom changes #1143

Open
orta opened this issue Sep 13, 2021 · 1 comment
Open

TypeScript 4.5 libdom changes #1143

orta opened this issue Sep 13, 2021 · 1 comment

Comments

@orta
Copy link
Contributor

orta commented Sep 13, 2021

@types/web / lib.dom.d.ts

New interfaces

  • ElementInternals

Removed interfaces

Modified

  • CSSStyleDeclaration
    • Added: accentColor
  • Document
    • Removed: elementFromPoint, elementsFromPoint - these live on DocumentOrShadowRoot instead
  • HTMLElement
    • Added: attachInternals
  • HTMLSlotElement
    • Added: assign
  • Navigator
    • Added: canShare
    • Removed: pointerEnabled - removed from spec in 2014
  • ReadableStream
  • Text
    • Removed: assignedSlot - This might be something we backtrack during the beta, will be easy to re-add if we want. d42f963#r57102539

Non-value types

  • MediaTrackConstraintSet
    • Added: autoGainControl, noiseSuppression
  • MediaTrackSettings
    • Added: autoGainControl, noiseSuppression
  • MediaTrackSupportedConstraints
    • Added: autoGainControl, noiseSuppression
  • DocumentOrShadowRoot
    • Added: elementFromPoint, elementsFromPoint

index.iterable.d.ts

No changes

@saschanaz
Copy link
Contributor

Text

  • Removed: assignedSlot - This might be something we backtrack during the beta, will be easy to re-add if we want. d42f963#r57102539

Not a breaking change: d42f963#commitcomment-57408110

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants