Skip to content

Commit 938abe0

Browse files
committed
Change HTMLSelectElement.options type to HTMLSelectElement | HTMLCollection
1 parent ea717dd commit 938abe0

File tree

2 files changed

+7
-1
lines changed

2 files changed

+7
-1
lines changed

baselines/dom.generated.d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6135,7 +6135,7 @@ interface HTMLSelectElement extends HTMLElement {
61356135
* Sets or retrieves the name of the object.
61366136
*/
61376137
name: string;
6138-
options: HTMLSelectElement;
6138+
options: HTMLSelectElement | HTMLCollection;
61396139
/**
61406140
* When present, marks an element that can't be submitted without a value.
61416141
*/

inputfiles/overridingTypes.json

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -205,5 +205,11 @@
205205
"new(width: number, height: number): ImageData",
206206
"new(array: Uint8ClampedArray, width: number, height: number): ImageData"
207207
]
208+
},
209+
{
210+
"kind": "property",
211+
"interface": "HTMLSelectElement",
212+
"name": "options",
213+
"type": "HTMLSelectElement | HTMLCollection"
208214
}
209215
]

0 commit comments

Comments
 (0)