TypeScript-DOM-lib-generator
TypeScript-DOM-lib-generator copied to clipboard
TypeScript 4.5 libdom changes
@types/web / lib.dom.d.ts
New interfaces
ElementInternals
Removed interfaces
PaymentAddress- Classed as obsolete
Modified
- CSSStyleDeclaration
- Added:
accentColor
- Added:
- Document
- Removed:
elementFromPoint,elementsFromPoint- these live onDocumentOrShadowRootinstead
- Removed:
- HTMLElement
- Added:
attachInternals
- Added:
- HTMLSlotElement
- Added:
assign
- Added:
- Navigator
- Added:
canShare - Removed:
pointerEnabled- removed from spec in 2014
- Added:
- ReadableStream
- Removed:
forEach- Doesn't seem to be in the Readable Stream API
- Removed:
- Text
- Removed:
assignedSlot- This might be something we backtrack during the beta, will be easy to re-add if we want. https://github.com/microsoft/TypeScript-DOM-lib-generator/commit/d42f963a7fc80796e7922eaa1cd10df939627cca#r57102539
- Removed:
Non-value types
- MediaTrackConstraintSet
- Added:
autoGainControl,noiseSuppression
- Added:
- MediaTrackSettings
- Added:
autoGainControl,noiseSuppression
- Added:
- MediaTrackSupportedConstraints
- Added:
autoGainControl,noiseSuppression
- Added:
- DocumentOrShadowRoot
- Added:
elementFromPoint,elementsFromPoint
- Added:
index.iterable.d.ts
No changes
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: https://github.com/microsoft/TypeScript-DOM-lib-generator/commit/d42f963a7fc80796e7922eaa1cd10df939627cca#commitcomment-57408110