Skip to content

TypeScript 4.5 libdom changes #1143

Closed
Closed
@orta

Description

@orta

@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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions