@@ -78,17 +78,11 @@ interface FontFaceSet extends Set<FontFace> {
7878
7979interface FormData {
8080 [ Symbol . iterator ] ( ) : IterableIterator < [ string , FormDataEntryValue ] > ;
81- /**
82- * Returns an array of key, value pairs for every entry in the list.
83- */
81+ /** Returns an array of key, value pairs for every entry in the list. */
8482 entries ( ) : IterableIterator < [ string , FormDataEntryValue ] > ;
85- /**
86- * Returns a list of keys in the list.
87- */
83+ /** Returns a list of keys in the list. */
8884 keys ( ) : IterableIterator < string > ;
89- /**
90- * Returns a list of values in the list.
91- */
85+ /** Returns a list of values in the list. */
9286 values ( ) : IterableIterator < FormDataEntryValue > ;
9387}
9488
@@ -109,29 +103,21 @@ interface HTMLFormElement {
109103}
110104
111105interface HTMLSelectElement {
112- [ Symbol . iterator ] ( ) : IterableIterator < Element > ;
106+ [ Symbol . iterator ] ( ) : IterableIterator < HTMLOptionElement > ;
113107}
114108
115109interface Headers {
116110 [ Symbol . iterator ] ( ) : IterableIterator < [ string , string ] > ;
117- /**
118- * Returns an iterator allowing to go through all key/value pairs contained in this object.
119- */
111+ /** Returns an iterator allowing to go through all key/value pairs contained in this object. */
120112 entries ( ) : IterableIterator < [ string , string ] > ;
121- /**
122- * Returns an iterator allowing to go through all keys of the key/value pairs contained in this object.
123- */
113+ /** Returns an iterator allowing to go through all keys of the key/value pairs contained in this object. */
124114 keys ( ) : IterableIterator < string > ;
125- /**
126- * Returns an iterator allowing to go through all values of the key/value pairs contained in this object.
127- */
115+ /** Returns an iterator allowing to go through all values of the key/value pairs contained in this object. */
128116 values ( ) : IterableIterator < string > ;
129117}
130118
131119interface IDBDatabase {
132- /**
133- * Returns a new transaction with the given mode ("readonly" or "readwrite") and scope which can be a single object store name or an array of names.
134- */
120+ /** Returns a new transaction with the given mode ("readonly" or "readwrite") and scope which can be a single object store name or an array of names. */
135121 transaction ( storeNames : string | Iterable < string > , mode ?: IDBTransactionMode ) : IDBTransaction ;
136122}
137123
@@ -161,66 +147,52 @@ interface MessageEvent<T = any> {
161147}
162148
163149interface MimeTypeArray {
164- [ Symbol . iterator ] ( ) : IterableIterator < any > ;
150+ [ Symbol . iterator ] ( ) : IterableIterator < MimeType > ;
165151}
166152
167153interface NamedNodeMap {
168154 [ Symbol . iterator ] ( ) : IterableIterator < Attr > ;
169155}
170156
171157interface Navigator {
158+ /** Available only in secure contexts. */
172159 requestMediaKeySystemAccess ( keySystem : string , supportedConfigurations : Iterable < MediaKeySystemConfiguration > ) : Promise < MediaKeySystemAccess > ;
173160 vibrate ( pattern : Iterable < number > ) : boolean ;
174161}
175162
176163interface NodeList {
177164 [ Symbol . iterator ] ( ) : IterableIterator < Node > ;
178- /**
179- * Returns an array of key, value pairs for every entry in the list.
180- */
165+ /** Returns an array of key, value pairs for every entry in the list. */
181166 entries ( ) : IterableIterator < [ number , Node ] > ;
182- /**
183- * Returns an list of keys in the list.
184- */
167+ /** Returns an list of keys in the list. */
185168 keys ( ) : IterableIterator < number > ;
186- /**
187- * Returns an list of values in the list.
188- */
169+ /** Returns an list of values in the list. */
189170 values ( ) : IterableIterator < Node > ;
190171}
191172
192173interface NodeListOf < TNode extends Node > {
193174 [ Symbol . iterator ] ( ) : IterableIterator < TNode > ;
194- /**
195- * Returns an array of key, value pairs for every entry in the list.
196- */
175+ /** Returns an array of key, value pairs for every entry in the list. */
197176 entries ( ) : IterableIterator < [ number , TNode ] > ;
198- /**
199- * Returns an list of keys in the list.
200- */
177+ /** Returns an list of keys in the list. */
201178 keys ( ) : IterableIterator < number > ;
202- /**
203- * Returns an list of values in the list.
204- */
179+ /** Returns an list of values in the list. */
205180 values ( ) : IterableIterator < TNode > ;
206181}
207182
208183interface Plugin {
209- [ Symbol . iterator ] ( ) : IterableIterator < undefined > ;
184+ [ Symbol . iterator ] ( ) : IterableIterator < MimeType > ;
210185}
211186
212187interface PluginArray {
213- [ Symbol . iterator ] ( ) : IterableIterator < any > ;
188+ [ Symbol . iterator ] ( ) : IterableIterator < Plugin > ;
214189}
215190
216- interface RTCStatsReport extends ReadonlyMap < string , any > {
191+ interface RTCRtpTransceiver {
192+ setCodecPreferences ( codecs : Iterable < RTCRtpCodecCapability > ) : void ;
217193}
218194
219- interface ReadableStream < R = any > {
220- [ Symbol . iterator ] ( ) : IterableIterator < any > ;
221- entries ( ) : IterableIterator < [ number , any ] > ;
222- keys ( ) : IterableIterator < number > ;
223- values ( ) : IterableIterator < any > ;
195+ interface RTCStatsReport extends ReadonlyMap < string , any > {
224196}
225197
226198interface SVGLengthList {
@@ -283,24 +255,25 @@ interface TouchList {
283255
284256interface URLSearchParams {
285257 [ Symbol . iterator ] ( ) : IterableIterator < [ string , string ] > ;
286- /**
287- * Returns an array of key, value pairs for every entry in the search params.
288- */
258+ /** Returns an array of key, value pairs for every entry in the search params. */
289259 entries ( ) : IterableIterator < [ string , string ] > ;
290- /**
291- * Returns a list of keys in the search params.
292- */
260+ /** Returns a list of keys in the search params. */
293261 keys ( ) : IterableIterator < string > ;
294- /**
295- * Returns a list of values in the search params.
296- */
262+ /** Returns a list of values in the search params. */
297263 values ( ) : IterableIterator < string > ;
298264}
299265
300266interface WEBGL_draw_buffers {
301267 drawBuffersWEBGL ( buffers : Iterable < GLenum > ) : void ;
302268}
303269
270+ interface WEBGL_multi_draw {
271+ multiDrawArraysInstancedWEBGL ( mode : GLenum , firstsList : Int32Array | Iterable < GLint > , firstsOffset : GLuint , countsList : Int32Array | Iterable < GLsizei > , countsOffset : GLuint , instanceCountsList : Int32Array | Iterable < GLsizei > , instanceCountsOffset : GLuint , drawcount : GLsizei ) : void ;
272+ multiDrawArraysWEBGL ( mode : GLenum , firstsList : Int32Array | Iterable < GLint > , firstsOffset : GLuint , countsList : Int32Array | Iterable < GLsizei > , countsOffset : GLuint , drawcount : GLsizei ) : void ;
273+ multiDrawElementsInstancedWEBGL ( mode : GLenum , countsList : Int32Array | Iterable < GLint > , countsOffset : GLuint , type : GLenum , offsetsList : Int32Array | Iterable < GLsizei > , offsetsOffset : GLuint , instanceCountsList : Int32Array | Iterable < GLsizei > , instanceCountsOffset : GLuint , drawcount : GLsizei ) : void ;
274+ multiDrawElementsWEBGL ( mode : GLenum , countsList : Int32Array | Iterable < GLint > , countsOffset : GLuint , type : GLenum , offsetsList : Int32Array | Iterable < GLsizei > , offsetsOffset : GLuint , drawcount : GLsizei ) : void ;
275+ }
276+
304277interface WebGL2RenderingContextBase {
305278 clearBufferfv ( buffer : GLenum , drawbuffer : GLint , values : Iterable < GLfloat > , srcOffset ?: GLuint ) : void ;
306279 clearBufferiv ( buffer : GLenum , drawbuffer : GLint , values : Iterable < GLint > , srcOffset ?: GLuint ) : void ;
0 commit comments