@@ -23,36 +23,36 @@ interface BaseAudioContext {
23
23
}
24
24
25
25
interface CSSKeyframesRule {
26
- [ Symbol . iterator ] ( ) : IterableIterator < CSSKeyframeRule > ;
26
+ [ Symbol . iterator ] ( ) : ArrayIterator < CSSKeyframeRule > ;
27
27
}
28
28
29
29
interface CSSNumericArray {
30
- [ Symbol . iterator ] ( ) : IterableIterator < CSSNumericValue > ;
31
- entries ( ) : IterableIterator < [ number , CSSNumericValue ] > ;
32
- keys ( ) : IterableIterator < number > ;
33
- values ( ) : IterableIterator < CSSNumericValue > ;
30
+ [ Symbol . iterator ] ( ) : ArrayIterator < CSSNumericValue > ;
31
+ entries ( ) : ArrayIterator < [ number , CSSNumericValue ] > ;
32
+ keys ( ) : ArrayIterator < number > ;
33
+ values ( ) : ArrayIterator < CSSNumericValue > ;
34
34
}
35
35
36
36
interface CSSRuleList {
37
- [ Symbol . iterator ] ( ) : IterableIterator < CSSRule > ;
37
+ [ Symbol . iterator ] ( ) : ArrayIterator < CSSRule > ;
38
38
}
39
39
40
40
interface CSSStyleDeclaration {
41
- [ Symbol . iterator ] ( ) : IterableIterator < string > ;
41
+ [ Symbol . iterator ] ( ) : ArrayIterator < string > ;
42
42
}
43
43
44
44
interface CSSTransformValue {
45
- [ Symbol . iterator ] ( ) : IterableIterator < CSSTransformComponent > ;
46
- entries ( ) : IterableIterator < [ number , CSSTransformComponent ] > ;
47
- keys ( ) : IterableIterator < number > ;
48
- values ( ) : IterableIterator < CSSTransformComponent > ;
45
+ [ Symbol . iterator ] ( ) : ArrayIterator < CSSTransformComponent > ;
46
+ entries ( ) : ArrayIterator < [ number , CSSTransformComponent ] > ;
47
+ keys ( ) : ArrayIterator < number > ;
48
+ values ( ) : ArrayIterator < CSSTransformComponent > ;
49
49
}
50
50
51
51
interface CSSUnparsedValue {
52
- [ Symbol . iterator ] ( ) : IterableIterator < CSSUnparsedSegment > ;
53
- entries ( ) : IterableIterator < [ number , CSSUnparsedSegment ] > ;
54
- keys ( ) : IterableIterator < number > ;
55
- values ( ) : IterableIterator < CSSUnparsedSegment > ;
52
+ [ Symbol . iterator ] ( ) : ArrayIterator < CSSUnparsedSegment > ;
53
+ entries ( ) : ArrayIterator < [ number , CSSUnparsedSegment ] > ;
54
+ keys ( ) : ArrayIterator < number > ;
55
+ values ( ) : ArrayIterator < CSSUnparsedSegment > ;
56
56
}
57
57
58
58
interface Cache {
@@ -74,72 +74,80 @@ interface CustomStateSet extends Set<string> {
74
74
}
75
75
76
76
interface DOMRectList {
77
- [ Symbol . iterator ] ( ) : IterableIterator < DOMRect > ;
77
+ [ Symbol . iterator ] ( ) : ArrayIterator < DOMRect > ;
78
78
}
79
79
80
80
interface DOMStringList {
81
- [ Symbol . iterator ] ( ) : IterableIterator < string > ;
81
+ [ Symbol . iterator ] ( ) : ArrayIterator < string > ;
82
82
}
83
83
84
84
interface DOMTokenList {
85
- [ Symbol . iterator ] ( ) : IterableIterator < string > ;
86
- entries ( ) : IterableIterator < [ number , string ] > ;
87
- keys ( ) : IterableIterator < number > ;
88
- values ( ) : IterableIterator < string > ;
85
+ [ Symbol . iterator ] ( ) : ArrayIterator < string > ;
86
+ entries ( ) : ArrayIterator < [ number , string ] > ;
87
+ keys ( ) : ArrayIterator < number > ;
88
+ values ( ) : ArrayIterator < string > ;
89
89
}
90
90
91
91
interface DataTransferItemList {
92
- [ Symbol . iterator ] ( ) : IterableIterator < DataTransferItem > ;
92
+ [ Symbol . iterator ] ( ) : ArrayIterator < DataTransferItem > ;
93
93
}
94
94
95
95
interface EventCounts extends ReadonlyMap < string , number > {
96
96
}
97
97
98
98
interface FileList {
99
- [ Symbol . iterator ] ( ) : IterableIterator < File > ;
99
+ [ Symbol . iterator ] ( ) : ArrayIterator < File > ;
100
100
}
101
101
102
102
interface FontFaceSet extends Set < FontFace > {
103
103
}
104
104
105
+ interface FormDataIterator < T > extends IteratorObject < T , BuiltinIteratorReturn , unknown > {
106
+ [ Symbol . iterator ] ( ) : FormDataIterator < T > ;
107
+ }
108
+
105
109
interface FormData {
106
- [ Symbol . iterator ] ( ) : IterableIterator < [ string , FormDataEntryValue ] > ;
110
+ [ Symbol . iterator ] ( ) : FormDataIterator < [ string , FormDataEntryValue ] > ;
107
111
/** Returns an array of key, value pairs for every entry in the list. */
108
- entries ( ) : IterableIterator < [ string , FormDataEntryValue ] > ;
112
+ entries ( ) : FormDataIterator < [ string , FormDataEntryValue ] > ;
109
113
/** Returns a list of keys in the list. */
110
- keys ( ) : IterableIterator < string > ;
114
+ keys ( ) : FormDataIterator < string > ;
111
115
/** Returns a list of values in the list. */
112
- values ( ) : IterableIterator < FormDataEntryValue > ;
116
+ values ( ) : FormDataIterator < FormDataEntryValue > ;
113
117
}
114
118
115
119
interface HTMLAllCollection {
116
- [ Symbol . iterator ] ( ) : IterableIterator < Element > ;
120
+ [ Symbol . iterator ] ( ) : ArrayIterator < Element > ;
117
121
}
118
122
119
123
interface HTMLCollectionBase {
120
- [ Symbol . iterator ] ( ) : IterableIterator < Element > ;
124
+ [ Symbol . iterator ] ( ) : ArrayIterator < Element > ;
121
125
}
122
126
123
127
interface HTMLCollectionOf < T extends Element > {
124
- [ Symbol . iterator ] ( ) : IterableIterator < T > ;
128
+ [ Symbol . iterator ] ( ) : ArrayIterator < T > ;
125
129
}
126
130
127
131
interface HTMLFormElement {
128
- [ Symbol . iterator ] ( ) : IterableIterator < Element > ;
132
+ [ Symbol . iterator ] ( ) : ArrayIterator < Element > ;
129
133
}
130
134
131
135
interface HTMLSelectElement {
132
- [ Symbol . iterator ] ( ) : IterableIterator < HTMLOptionElement > ;
136
+ [ Symbol . iterator ] ( ) : ArrayIterator < HTMLOptionElement > ;
137
+ }
138
+
139
+ interface HeadersIterator < T > extends IteratorObject < T , BuiltinIteratorReturn , unknown > {
140
+ [ Symbol . iterator ] ( ) : HeadersIterator < T > ;
133
141
}
134
142
135
143
interface Headers {
136
- [ Symbol . iterator ] ( ) : IterableIterator < [ string , string ] > ;
144
+ [ Symbol . iterator ] ( ) : HeadersIterator < [ string , string ] > ;
137
145
/** Returns an iterator allowing to go through all key/value pairs contained in this object. */
138
- entries ( ) : IterableIterator < [ string , string ] > ;
146
+ entries ( ) : HeadersIterator < [ string , string ] > ;
139
147
/** Returns an iterator allowing to go through all keys of the key/value pairs contained in this object. */
140
- keys ( ) : IterableIterator < string > ;
148
+ keys ( ) : HeadersIterator < string > ;
141
149
/** Returns an iterator allowing to go through all values of the key/value pairs contained in this object. */
142
- values ( ) : IterableIterator < string > ;
150
+ values ( ) : HeadersIterator < string > ;
143
151
}
144
152
145
153
interface Highlight extends Set < AbstractRange > {
@@ -179,15 +187,19 @@ interface MIDIOutput {
179
187
interface MIDIOutputMap extends ReadonlyMap < string , MIDIOutput > {
180
188
}
181
189
190
+ interface MediaKeyStatusMapIterator < T > extends IteratorObject < T , BuiltinIteratorReturn , unknown > {
191
+ [ Symbol . iterator ] ( ) : MediaKeyStatusMapIterator < T > ;
192
+ }
193
+
182
194
interface MediaKeyStatusMap {
183
- [ Symbol . iterator ] ( ) : IterableIterator < [ BufferSource , MediaKeyStatus ] > ;
184
- entries ( ) : IterableIterator < [ BufferSource , MediaKeyStatus ] > ;
185
- keys ( ) : IterableIterator < BufferSource > ;
186
- values ( ) : IterableIterator < MediaKeyStatus > ;
195
+ [ Symbol . iterator ] ( ) : MediaKeyStatusMapIterator < [ BufferSource , MediaKeyStatus ] > ;
196
+ entries ( ) : MediaKeyStatusMapIterator < [ BufferSource , MediaKeyStatus ] > ;
197
+ keys ( ) : MediaKeyStatusMapIterator < BufferSource > ;
198
+ values ( ) : MediaKeyStatusMapIterator < MediaKeyStatus > ;
187
199
}
188
200
189
201
interface MediaList {
190
- [ Symbol . iterator ] ( ) : IterableIterator < string > ;
202
+ [ Symbol . iterator ] ( ) : ArrayIterator < string > ;
191
203
}
192
204
193
205
interface MessageEvent < T = any > {
@@ -196,11 +208,11 @@ interface MessageEvent<T = any> {
196
208
}
197
209
198
210
interface MimeTypeArray {
199
- [ Symbol . iterator ] ( ) : IterableIterator < MimeType > ;
211
+ [ Symbol . iterator ] ( ) : ArrayIterator < MimeType > ;
200
212
}
201
213
202
214
interface NamedNodeMap {
203
- [ Symbol . iterator ] ( ) : IterableIterator < Attr > ;
215
+ [ Symbol . iterator ] ( ) : ArrayIterator < Attr > ;
204
216
}
205
217
206
218
interface Navigator {
@@ -215,31 +227,31 @@ interface Navigator {
215
227
}
216
228
217
229
interface NodeList {
218
- [ Symbol . iterator ] ( ) : IterableIterator < Node > ;
230
+ [ Symbol . iterator ] ( ) : ArrayIterator < Node > ;
219
231
/** Returns an array of key, value pairs for every entry in the list. */
220
- entries ( ) : IterableIterator < [ number , Node ] > ;
232
+ entries ( ) : ArrayIterator < [ number , Node ] > ;
221
233
/** Returns an list of keys in the list. */
222
- keys ( ) : IterableIterator < number > ;
234
+ keys ( ) : ArrayIterator < number > ;
223
235
/** Returns an list of values in the list. */
224
- values ( ) : IterableIterator < Node > ;
236
+ values ( ) : ArrayIterator < Node > ;
225
237
}
226
238
227
239
interface NodeListOf < TNode extends Node > {
228
- [ Symbol . iterator ] ( ) : IterableIterator < TNode > ;
240
+ [ Symbol . iterator ] ( ) : ArrayIterator < TNode > ;
229
241
/** Returns an array of key, value pairs for every entry in the list. */
230
- entries ( ) : IterableIterator < [ number , TNode ] > ;
242
+ entries ( ) : ArrayIterator < [ number , TNode ] > ;
231
243
/** Returns an list of keys in the list. */
232
- keys ( ) : IterableIterator < number > ;
244
+ keys ( ) : ArrayIterator < number > ;
233
245
/** Returns an list of values in the list. */
234
- values ( ) : IterableIterator < TNode > ;
246
+ values ( ) : ArrayIterator < TNode > ;
235
247
}
236
248
237
249
interface Plugin {
238
- [ Symbol . iterator ] ( ) : IterableIterator < MimeType > ;
250
+ [ Symbol . iterator ] ( ) : ArrayIterator < MimeType > ;
239
251
}
240
252
241
253
interface PluginArray {
242
- [ Symbol . iterator ] ( ) : IterableIterator < Plugin > ;
254
+ [ Symbol . iterator ] ( ) : ArrayIterator < Plugin > ;
243
255
}
244
256
245
257
interface RTCRtpTransceiver {
@@ -251,46 +263,50 @@ interface RTCStatsReport extends ReadonlyMap<string, any> {
251
263
}
252
264
253
265
interface SVGLengthList {
254
- [ Symbol . iterator ] ( ) : IterableIterator < SVGLength > ;
266
+ [ Symbol . iterator ] ( ) : ArrayIterator < SVGLength > ;
255
267
}
256
268
257
269
interface SVGNumberList {
258
- [ Symbol . iterator ] ( ) : IterableIterator < SVGNumber > ;
270
+ [ Symbol . iterator ] ( ) : ArrayIterator < SVGNumber > ;
259
271
}
260
272
261
273
interface SVGPointList {
262
- [ Symbol . iterator ] ( ) : IterableIterator < DOMPoint > ;
274
+ [ Symbol . iterator ] ( ) : ArrayIterator < DOMPoint > ;
263
275
}
264
276
265
277
interface SVGStringList {
266
- [ Symbol . iterator ] ( ) : IterableIterator < string > ;
278
+ [ Symbol . iterator ] ( ) : ArrayIterator < string > ;
267
279
}
268
280
269
281
interface SVGTransformList {
270
- [ Symbol . iterator ] ( ) : IterableIterator < SVGTransform > ;
282
+ [ Symbol . iterator ] ( ) : ArrayIterator < SVGTransform > ;
271
283
}
272
284
273
285
interface SourceBufferList {
274
- [ Symbol . iterator ] ( ) : IterableIterator < SourceBuffer > ;
286
+ [ Symbol . iterator ] ( ) : ArrayIterator < SourceBuffer > ;
275
287
}
276
288
277
289
interface SpeechRecognitionResult {
278
- [ Symbol . iterator ] ( ) : IterableIterator < SpeechRecognitionAlternative > ;
290
+ [ Symbol . iterator ] ( ) : ArrayIterator < SpeechRecognitionAlternative > ;
279
291
}
280
292
281
293
interface SpeechRecognitionResultList {
282
- [ Symbol . iterator ] ( ) : IterableIterator < SpeechRecognitionResult > ;
294
+ [ Symbol . iterator ] ( ) : ArrayIterator < SpeechRecognitionResult > ;
295
+ }
296
+
297
+ interface StylePropertyMapReadOnlyIterator < T > extends IteratorObject < T , BuiltinIteratorReturn , unknown > {
298
+ [ Symbol . iterator ] ( ) : StylePropertyMapReadOnlyIterator < T > ;
283
299
}
284
300
285
301
interface StylePropertyMapReadOnly {
286
- [ Symbol . iterator ] ( ) : IterableIterator < [ string , Iterable < CSSStyleValue > ] > ;
287
- entries ( ) : IterableIterator < [ string , Iterable < CSSStyleValue > ] > ;
288
- keys ( ) : IterableIterator < string > ;
289
- values ( ) : IterableIterator < Iterable < CSSStyleValue > > ;
302
+ [ Symbol . iterator ] ( ) : StylePropertyMapReadOnlyIterator < [ string , Iterable < CSSStyleValue > ] > ;
303
+ entries ( ) : StylePropertyMapReadOnlyIterator < [ string , Iterable < CSSStyleValue > ] > ;
304
+ keys ( ) : StylePropertyMapReadOnlyIterator < string > ;
305
+ values ( ) : StylePropertyMapReadOnlyIterator < Iterable < CSSStyleValue > > ;
290
306
}
291
307
292
308
interface StyleSheetList {
293
- [ Symbol . iterator ] ( ) : IterableIterator < CSSStyleSheet > ;
309
+ [ Symbol . iterator ] ( ) : ArrayIterator < CSSStyleSheet > ;
294
310
}
295
311
296
312
interface SubtleCrypto {
@@ -309,25 +325,29 @@ interface SubtleCrypto {
309
325
}
310
326
311
327
interface TextTrackCueList {
312
- [ Symbol . iterator ] ( ) : IterableIterator < TextTrackCue > ;
328
+ [ Symbol . iterator ] ( ) : ArrayIterator < TextTrackCue > ;
313
329
}
314
330
315
331
interface TextTrackList {
316
- [ Symbol . iterator ] ( ) : IterableIterator < TextTrack > ;
332
+ [ Symbol . iterator ] ( ) : ArrayIterator < TextTrack > ;
317
333
}
318
334
319
335
interface TouchList {
320
- [ Symbol . iterator ] ( ) : IterableIterator < Touch > ;
336
+ [ Symbol . iterator ] ( ) : ArrayIterator < Touch > ;
337
+ }
338
+
339
+ interface URLSearchParamsIterator < T > extends IteratorObject < T , BuiltinIteratorReturn , unknown > {
340
+ [ Symbol . iterator ] ( ) : URLSearchParamsIterator < T > ;
321
341
}
322
342
323
343
interface URLSearchParams {
324
- [ Symbol . iterator ] ( ) : IterableIterator < [ string , string ] > ;
344
+ [ Symbol . iterator ] ( ) : URLSearchParamsIterator < [ string , string ] > ;
325
345
/** Returns an array of key, value pairs for every entry in the search params. */
326
- entries ( ) : IterableIterator < [ string , string ] > ;
346
+ entries ( ) : URLSearchParamsIterator < [ string , string ] > ;
327
347
/** Returns a list of keys in the search params. */
328
- keys ( ) : IterableIterator < string > ;
348
+ keys ( ) : URLSearchParamsIterator < string > ;
329
349
/** Returns a list of values in the search params. */
330
- values ( ) : IterableIterator < string > ;
350
+ values ( ) : URLSearchParamsIterator < string > ;
331
351
}
332
352
333
353
interface WEBGL_draw_buffers {
0 commit comments