Skip to content

Commit b168da9

Browse files
committed
Merge pull request #6300 from zhengbli/syncTsjs20151230
Update dom.generated.d.ts with latest version in TSJS repo
2 parents ba0f7f5 + 55ae18b commit b168da9

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

src/lib/dom.generated.d.ts

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -321,6 +321,7 @@ interface AudioContext extends EventTarget {
321321
destination: AudioDestinationNode;
322322
listener: AudioListener;
323323
sampleRate: number;
324+
state: string;
324325
createAnalyser(): AnalyserNode;
325326
createBiquadFilter(): BiquadFilterNode;
326327
createBuffer(numberOfChannels: number, length: number, sampleRate: number): AudioBuffer;
@@ -2774,6 +2775,7 @@ interface Element extends Node, GlobalEventHandlers, ElementTraversal, NodeSelec
27742775
tagName: string;
27752776
id: string;
27762777
className: string;
2778+
innerHTML: string;
27772779
getAttribute(name?: string): string;
27782780
getAttributeNS(namespaceURI: string, localName: string): string;
27792781
getAttributeNode(name: string): Attr;
@@ -2969,7 +2971,7 @@ interface Element extends Node, GlobalEventHandlers, ElementTraversal, NodeSelec
29692971
removeAttributeNode(oldAttr: Attr): Attr;
29702972
requestFullscreen(): void;
29712973
requestPointerLock(): void;
2972-
setAttribute(name?: string, value?: string): void;
2974+
setAttribute(name: string, value: string): void;
29732975
setAttributeNS(namespaceURI: string, qualifiedName: string, value: string): void;
29742976
setAttributeNode(newAttr: Attr): Attr;
29752977
setAttributeNodeNS(newAttr: Attr): Attr;
@@ -5512,7 +5514,7 @@ interface HTMLMediaElement extends HTMLElement {
55125514
* Gets or sets the current playback position, in seconds.
55135515
*/
55145516
preload: string;
5515-
readyState: any;
5517+
readyState: number;
55165518
/**
55175519
* Returns a TimeRanges object that represents the ranges of the current media resource that can be seeked.
55185520
*/
@@ -6169,6 +6171,7 @@ interface HTMLSelectElement extends HTMLElement {
61696171
* Returns whether an element will successfully validate based on forms validation rules and constraints.
61706172
*/
61716173
willValidate: boolean;
6174+
selectedOptions: HTMLCollection;
61726175
/**
61736176
* Adds an element to the areas, controlRange, or options collection.
61746177
* @param element Variant of type Number that specifies the index position in the collection where the element is placed. If no value is given, the method places the element at the end of the collection.

0 commit comments

Comments
 (0)