-
Notifications
You must be signed in to change notification settings - Fork 12.9k
Closed
Labels
Breaking ChangeWould introduce errors in existing codeWould introduce errors in existing codeBugA bug in TypeScriptA bug in TypeScriptDomain: lib.d.tsThe issue relates to the different libraries shipped with TypeScriptThe issue relates to the different libraries shipped with TypeScriptFixedA PR has been merged for this issueA PR has been merged for this issue
Milestone
Description
A couple of html table related methods in lib.d.ts return HTMLElement, but they could return a more precise type:
- HTMLTableElement.insertRow should return HTMLTableRowElement instead of HTMLElement
- HTMLTableElement.createTHead should return HTMLTableSectionElement instead of HTMLElement
- HTMLTableElement.createTBody should return HTMLTableSectionElement instead of HTMLElement
- HTMLTableElement.createTFoot should return HTMLTableSectionElement instead of HTMLElement
- HTMLTableElement.createCaption should return HTMLTableCaptionElement instead of HTMLElement
- HTMLTableSectionElement.insertRow should return HTMLTableRowElement instead of HTMLElement
- HTMLTableRowElement.insertCell should return HTMLTableCellElement instead of HTMLElement
Metadata
Metadata
Assignees
Labels
Breaking ChangeWould introduce errors in existing codeWould introduce errors in existing codeBugA bug in TypeScriptA bug in TypeScriptDomain: lib.d.tsThe issue relates to the different libraries shipped with TypeScriptThe issue relates to the different libraries shipped with TypeScriptFixedA PR has been merged for this issueA PR has been merged for this issue