Skip to content

HTMLTableElement Functions return wrong types (insertRow, insertCell) #1274

Closed
@EricLambrecht

Description

@EricLambrecht

insertRow(index?: number): HTMLElement;
insertRow(index?: number): HTMLTableRowElement ;
insertCell(index?: number): HTMLElement;
insertCell(index?: number): HTMLTableCellElement;

also HTMLTableElement.rows is not a collection of HTMLTableRowElements!?

Am I mistaken here?

Metadata

Metadata

Assignees

Labels

BugA bug in TypeScriptDuplicateAn existing issue was already created

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions