Skip to content

Commit 3b35bd0

Browse files
committed
Merge pull request #33 from MattiasBuelens/HTMLMediaElement-readyState
Override type of HTMLMediaElement.readyState
2 parents c89ed31 + aceb541 commit 3b35bd0

File tree

2 files changed

+7
-1
lines changed

2 files changed

+7
-1
lines changed

baselines/dom.generated.d.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -5513,7 +5513,7 @@ interface HTMLMediaElement extends HTMLElement {
55135513
* Gets or sets the current playback position, in seconds.
55145514
*/
55155515
preload: string;
5516-
readyState: any;
5516+
readyState: number;
55175517
/**
55185518
* Returns a TimeRanges object that represents the ranges of the current media resource that can be seeked.
55195519
*/

inputfiles/overridingTypes.json

+6
Original file line numberDiff line numberDiff line change
@@ -283,5 +283,11 @@
283283
"interface": "Element",
284284
"name": "setAttribute",
285285
"signatures": ["setAttribute(name: string, value: string): void"]
286+
},
287+
{
288+
"kind": "property",
289+
"interface": "HTMLMediaElement",
290+
"name": "readyState",
291+
"type": "number"
286292
}
287293
]

0 commit comments

Comments
 (0)