-
Notifications
You must be signed in to change notification settings - Fork 13k
Closed
Labels
BugA bug in TypeScriptA bug in TypeScriptRescheduledThis issue was previously scheduled to an earlier milestoneThis issue was previously scheduled to an earlier milestone
Milestone
Description
TypeScript Version: 4.0.5
Search Terms: ElementCSSInlineStyle
Code
In lib.dom.d.ts
, some interfaces have other interfaces twice in their extends
list:
-
ElementCSSInlineStyle
inHTMLElement
Line 6586 in 80dc9d9
interface HTMLElement extends Element, DocumentAndElementEventHandlers, ElementCSSInlineStyle, ElementCSSInlineStyle, ElementContentEditable, GlobalEventHandlers, HTMLOrSVGElement { -
DocumentAndElementEventHandlers
andGlobalEventHandlers
inSVGElement
Line 12976 in 80dc9d9
interface SVGElement extends Element, DocumentAndElementEventHandlers, DocumentAndElementEventHandlers, ElementCSSInlineStyle, GlobalEventHandlers, GlobalEventHandlers, HTMLOrSVGElement, SVGElementInstance {
All these interfaces extend HTMLElement
and SVGElement
, so they could be moved to interface HTMLOrSVGElement
right?
Metadata
Metadata
Assignees
Labels
BugA bug in TypeScriptA bug in TypeScriptRescheduledThis issue was previously scheduled to an earlier milestoneThis issue was previously scheduled to an earlier milestone