@@ -69,6 +69,9 @@ interface DataTransferItemList {
69
69
[ Symbol . iterator ] ( ) : IterableIterator < DataTransferItem > ;
70
70
}
71
71
72
+ interface EventCounts extends ReadonlyMap < string , number > {
73
+ }
74
+
72
75
interface FileList {
73
76
[ Symbol . iterator ] ( ) : IterableIterator < File > ;
74
77
}
@@ -78,17 +81,11 @@ interface FontFaceSet extends Set<FontFace> {
78
81
79
82
interface FormData {
80
83
[ Symbol . iterator ] ( ) : IterableIterator < [ string , FormDataEntryValue ] > ;
81
- /**
82
- * Returns an array of key, value pairs for every entry in the list.
83
- */
84
+ /** Returns an array of key, value pairs for every entry in the list. */
84
85
entries ( ) : IterableIterator < [ string , FormDataEntryValue ] > ;
85
- /**
86
- * Returns a list of keys in the list.
87
- */
86
+ /** Returns a list of keys in the list. */
88
87
keys ( ) : IterableIterator < string > ;
89
- /**
90
- * Returns a list of values in the list.
91
- */
88
+ /** Returns a list of values in the list. */
92
89
values ( ) : IterableIterator < FormDataEntryValue > ;
93
90
}
94
91
@@ -109,29 +106,21 @@ interface HTMLFormElement {
109
106
}
110
107
111
108
interface HTMLSelectElement {
112
- [ Symbol . iterator ] ( ) : IterableIterator < Element > ;
109
+ [ Symbol . iterator ] ( ) : IterableIterator < HTMLOptionElement > ;
113
110
}
114
111
115
112
interface Headers {
116
113
[ Symbol . iterator ] ( ) : IterableIterator < [ string , string ] > ;
117
- /**
118
- * Returns an iterator allowing to go through all key/value pairs contained in this object.
119
- */
114
+ /** Returns an iterator allowing to go through all key/value pairs contained in this object. */
120
115
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
- */
116
+ /** Returns an iterator allowing to go through all keys of the key/value pairs contained in this object. */
124
117
keys ( ) : IterableIterator < string > ;
125
- /**
126
- * Returns an iterator allowing to go through all values of the key/value pairs contained in this object.
127
- */
118
+ /** Returns an iterator allowing to go through all values of the key/value pairs contained in this object. */
128
119
values ( ) : IterableIterator < string > ;
129
120
}
130
121
131
122
interface 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
- */
123
+ /** 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. */
135
124
transaction ( storeNames : string | Iterable < string > , mode ?: IDBTransactionMode ) : IDBTransaction ;
136
125
}
137
126
@@ -144,6 +133,16 @@ interface IDBObjectStore {
144
133
createIndex ( name : string , keyPath : string | Iterable < string > , options ?: IDBIndexParameters ) : IDBIndex ;
145
134
}
146
135
136
+ interface MIDIInputMap extends ReadonlyMap < string , MIDIInput > {
137
+ }
138
+
139
+ interface MIDIOutput {
140
+ send ( data : Iterable < number > , timestamp ?: DOMHighResTimeStamp ) : void ;
141
+ }
142
+
143
+ interface MIDIOutputMap extends ReadonlyMap < string , MIDIOutput > {
144
+ }
145
+
147
146
interface MediaKeyStatusMap {
148
147
[ Symbol . iterator ] ( ) : IterableIterator < [ BufferSource , MediaKeyStatus ] > ;
149
148
entries ( ) : IterableIterator < [ BufferSource , MediaKeyStatus ] > ;
@@ -161,66 +160,52 @@ interface MessageEvent<T = any> {
161
160
}
162
161
163
162
interface MimeTypeArray {
164
- [ Symbol . iterator ] ( ) : IterableIterator < any > ;
163
+ [ Symbol . iterator ] ( ) : IterableIterator < MimeType > ;
165
164
}
166
165
167
166
interface NamedNodeMap {
168
167
[ Symbol . iterator ] ( ) : IterableIterator < Attr > ;
169
168
}
170
169
171
170
interface Navigator {
171
+ /** Available only in secure contexts. */
172
172
requestMediaKeySystemAccess ( keySystem : string , supportedConfigurations : Iterable < MediaKeySystemConfiguration > ) : Promise < MediaKeySystemAccess > ;
173
173
vibrate ( pattern : Iterable < number > ) : boolean ;
174
174
}
175
175
176
176
interface NodeList {
177
177
[ Symbol . iterator ] ( ) : IterableIterator < Node > ;
178
- /**
179
- * Returns an array of key, value pairs for every entry in the list.
180
- */
178
+ /** Returns an array of key, value pairs for every entry in the list. */
181
179
entries ( ) : IterableIterator < [ number , Node ] > ;
182
- /**
183
- * Returns an list of keys in the list.
184
- */
180
+ /** Returns an list of keys in the list. */
185
181
keys ( ) : IterableIterator < number > ;
186
- /**
187
- * Returns an list of values in the list.
188
- */
182
+ /** Returns an list of values in the list. */
189
183
values ( ) : IterableIterator < Node > ;
190
184
}
191
185
192
186
interface NodeListOf < TNode extends Node > {
193
187
[ Symbol . iterator ] ( ) : IterableIterator < TNode > ;
194
- /**
195
- * Returns an array of key, value pairs for every entry in the list.
196
- */
188
+ /** Returns an array of key, value pairs for every entry in the list. */
197
189
entries ( ) : IterableIterator < [ number , TNode ] > ;
198
- /**
199
- * Returns an list of keys in the list.
200
- */
190
+ /** Returns an list of keys in the list. */
201
191
keys ( ) : IterableIterator < number > ;
202
- /**
203
- * Returns an list of values in the list.
204
- */
192
+ /** Returns an list of values in the list. */
205
193
values ( ) : IterableIterator < TNode > ;
206
194
}
207
195
208
196
interface Plugin {
209
- [ Symbol . iterator ] ( ) : IterableIterator < undefined > ;
197
+ [ Symbol . iterator ] ( ) : IterableIterator < MimeType > ;
210
198
}
211
199
212
200
interface PluginArray {
213
- [ Symbol . iterator ] ( ) : IterableIterator < any > ;
201
+ [ Symbol . iterator ] ( ) : IterableIterator < Plugin > ;
214
202
}
215
203
216
- interface RTCStatsReport extends ReadonlyMap < string , any > {
204
+ interface RTCRtpTransceiver {
205
+ setCodecPreferences ( codecs : Iterable < RTCRtpCodecCapability > ) : void ;
217
206
}
218
207
219
- interface ReadableStream < R = any > {
220
- [ Symbol . iterator ] ( ) : IterableIterator < any > ;
221
- entries ( ) : IterableIterator < [ number , any ] > ;
222
- keys ( ) : IterableIterator < number > ;
223
- values ( ) : IterableIterator < any > ;
208
+ interface RTCStatsReport extends ReadonlyMap < string , any > {
224
209
}
225
210
226
211
interface SVGLengthList {
@@ -261,10 +246,10 @@ interface StyleSheetList {
261
246
262
247
interface SubtleCrypto {
263
248
deriveKey ( algorithm : AlgorithmIdentifier | EcdhKeyDeriveParams | HkdfParams | Pbkdf2Params , baseKey : CryptoKey , derivedKeyType : AlgorithmIdentifier | AesDerivedKeyParams | HmacImportParams | HkdfParams | Pbkdf2Params , extractable : boolean , keyUsages : Iterable < KeyUsage > ) : Promise < CryptoKey > ;
264
- generateKey ( algorithm : RsaHashedKeyGenParams | EcKeyGenParams , extractable : boolean , keyUsages : KeyUsage [ ] ) : Promise < CryptoKeyPair > ;
265
- generateKey ( algorithm : AesKeyGenParams | HmacKeyGenParams | Pbkdf2Params , extractable : boolean , keyUsages : KeyUsage [ ] ) : Promise < CryptoKey > ;
249
+ generateKey ( algorithm : RsaHashedKeyGenParams | EcKeyGenParams , extractable : boolean , keyUsages : ReadonlyArray < KeyUsage > ) : Promise < CryptoKeyPair > ;
250
+ generateKey ( algorithm : AesKeyGenParams | HmacKeyGenParams | Pbkdf2Params , extractable : boolean , keyUsages : ReadonlyArray < KeyUsage > ) : Promise < CryptoKey > ;
266
251
generateKey ( algorithm : AlgorithmIdentifier , extractable : boolean , keyUsages : Iterable < KeyUsage > ) : Promise < CryptoKeyPair | CryptoKey > ;
267
- importKey ( format : "jwk" , keyData : JsonWebKey , algorithm : AlgorithmIdentifier | RsaHashedImportParams | EcKeyImportParams | HmacImportParams | AesKeyAlgorithm , extractable : boolean , keyUsages : KeyUsage [ ] ) : Promise < CryptoKey > ;
252
+ importKey ( format : "jwk" , keyData : JsonWebKey , algorithm : AlgorithmIdentifier | RsaHashedImportParams | EcKeyImportParams | HmacImportParams | AesKeyAlgorithm , extractable : boolean , keyUsages : ReadonlyArray < KeyUsage > ) : Promise < CryptoKey > ;
268
253
importKey ( format : Exclude < KeyFormat , "jwk" > , keyData : BufferSource , algorithm : AlgorithmIdentifier | RsaHashedImportParams | EcKeyImportParams | HmacImportParams | AesKeyAlgorithm , extractable : boolean , keyUsages : Iterable < KeyUsage > ) : Promise < CryptoKey > ;
269
254
unwrapKey ( format : KeyFormat , wrappedKey : BufferSource , unwrappingKey : CryptoKey , unwrapAlgorithm : AlgorithmIdentifier | RsaOaepParams | AesCtrParams | AesCbcParams | AesGcmParams , unwrappedKeyAlgorithm : AlgorithmIdentifier | RsaHashedImportParams | EcKeyImportParams | HmacImportParams | AesKeyAlgorithm , extractable : boolean , keyUsages : Iterable < KeyUsage > ) : Promise < CryptoKey > ;
270
255
}
@@ -283,24 +268,25 @@ interface TouchList {
283
268
284
269
interface URLSearchParams {
285
270
[ Symbol . iterator ] ( ) : IterableIterator < [ string , string ] > ;
286
- /**
287
- * Returns an array of key, value pairs for every entry in the search params.
288
- */
271
+ /** Returns an array of key, value pairs for every entry in the search params. */
289
272
entries ( ) : IterableIterator < [ string , string ] > ;
290
- /**
291
- * Returns a list of keys in the search params.
292
- */
273
+ /** Returns a list of keys in the search params. */
293
274
keys ( ) : IterableIterator < string > ;
294
- /**
295
- * Returns a list of values in the search params.
296
- */
275
+ /** Returns a list of values in the search params. */
297
276
values ( ) : IterableIterator < string > ;
298
277
}
299
278
300
279
interface WEBGL_draw_buffers {
301
280
drawBuffersWEBGL ( buffers : Iterable < GLenum > ) : void ;
302
281
}
303
282
283
+ interface WEBGL_multi_draw {
284
+ multiDrawArraysInstancedWEBGL ( mode : GLenum , firstsList : Int32Array | Iterable < GLint > , firstsOffset : GLuint , countsList : Int32Array | Iterable < GLsizei > , countsOffset : GLuint , instanceCountsList : Int32Array | Iterable < GLsizei > , instanceCountsOffset : GLuint , drawcount : GLsizei ) : void ;
285
+ multiDrawArraysWEBGL ( mode : GLenum , firstsList : Int32Array | Iterable < GLint > , firstsOffset : GLuint , countsList : Int32Array | Iterable < GLsizei > , countsOffset : GLuint , drawcount : GLsizei ) : void ;
286
+ 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 ;
287
+ multiDrawElementsWEBGL ( mode : GLenum , countsList : Int32Array | Iterable < GLint > , countsOffset : GLuint , type : GLenum , offsetsList : Int32Array | Iterable < GLsizei > , offsetsOffset : GLuint , drawcount : GLsizei ) : void ;
288
+ }
289
+
304
290
interface WebGL2RenderingContextBase {
305
291
clearBufferfv ( buffer : GLenum , drawbuffer : GLint , values : Iterable < GLfloat > , srcOffset ?: GLuint ) : void ;
306
292
clearBufferiv ( buffer : GLenum , drawbuffer : GLint , values : Iterable < GLint > , srcOffset ?: GLuint ) : void ;
0 commit comments