Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
jrandolf committed Dec 11, 2020
1 parent 11a7dd0 commit 39e338e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion baselines/dom.generated.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4770,7 +4770,7 @@ interface Document extends Node, DocumentAndElementEventHandlers, DocumentOrShad
* Gets a collection of objects based on the value of the NAME or ID attribute.
* @param elementName Gets a collection of objects based on the value of the NAME or ID attribute.
*/
getElementsByName<E extends Element = Element>(elementName: string): NodeListOf<E>;
getElementsByName(elementName: string): NodeListOf<HTMLElement>;
/**
* Retrieves a collection of objects based on the specified element name.
* @param name Specifies the name of an element.
Expand Down
2 changes: 1 addition & 1 deletion inputfiles/overridingTypes.json
Original file line number Diff line number Diff line change
Expand Up @@ -567,7 +567,7 @@
"getElementsByName": {
"name": "getElementsByName",
"override-signatures": [
"getElementsByName<E extends Element = Element>(elementName: string): NodeListOf<E>"
"getElementsByName(elementName: string): NodeListOf<HTMLElement>"
]
},
"createTreeWalker": {
Expand Down

0 comments on commit 39e338e

Please sign in to comment.