Skip to content

Commit 39e338e

Browse files
committed
1 parent 11a7dd0 commit 39e338e

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

baselines/dom.generated.d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4770,7 +4770,7 @@ interface Document extends Node, DocumentAndElementEventHandlers, DocumentOrShad
47704770
* Gets a collection of objects based on the value of the NAME or ID attribute.
47714771
* @param elementName Gets a collection of objects based on the value of the NAME or ID attribute.
47724772
*/
4773-
getElementsByName<E extends Element = Element>(elementName: string): NodeListOf<E>;
4773+
getElementsByName(elementName: string): NodeListOf<HTMLElement>;
47744774
/**
47754775
* Retrieves a collection of objects based on the specified element name.
47764776
* @param name Specifies the name of an element.

inputfiles/overridingTypes.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -567,7 +567,7 @@
567567
"getElementsByName": {
568568
"name": "getElementsByName",
569569
"override-signatures": [
570-
"getElementsByName<E extends Element = Element>(elementName: string): NodeListOf<E>"
570+
"getElementsByName(elementName: string): NodeListOf<HTMLElement>"
571571
]
572572
},
573573
"createTreeWalker": {

0 commit comments

Comments
 (0)