33/////////////////////////////
44
55interface AudioParam {
6- /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/AudioParam/setValueCurveAtTime) */
6+ /**
7+ * The **`setValueCurveAtTime()`** method of the following a curve defined by a list of values.
8+ *
9+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/AudioParam/setValueCurveAtTime)
10+ */
711 setValueCurveAtTime ( values : Iterable < number > , startTime : number , duration : number ) : AudioParam ;
812}
913
1014interface AudioParamMap extends ReadonlyMap < string , AudioParam > {
1115}
1216
1317interface BaseAudioContext {
14- /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/BaseAudioContext/createIIRFilter) */
18+ /**
19+ * The **`createIIRFilter()`** method of the BaseAudioContext interface creates an IIRFilterNode, which represents a general **infinite impulse response** (IIR) filter which can be configured to serve as various types of filter.
20+ *
21+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/BaseAudioContext/createIIRFilter)
22+ */
1523 createIIRFilter ( feedforward : Iterable < number > , feedback : Iterable < number > ) : IIRFilterNode ;
16- /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/BaseAudioContext/createPeriodicWave) */
24+ /**
25+ * The `createPeriodicWave()` method of the BaseAudioContext interface is used to create a PeriodicWave.
26+ *
27+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/BaseAudioContext/createPeriodicWave)
28+ */
1729 createPeriodicWave ( real : Iterable < number > , imag : Iterable < number > , constraints ?: PeriodicWaveConstraints ) : PeriodicWave ;
1830}
1931
@@ -51,7 +63,11 @@ interface CSSUnparsedValue {
5163}
5264
5365interface Cache {
54- /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Cache/addAll) */
66+ /**
67+ * The **`addAll()`** method of the Cache interface takes an array of URLs, retrieves them, and adds the resulting response objects to the given cache.
68+ *
69+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Cache/addAll)
70+ */
5571 addAll ( requests : Iterable < RequestInfo > ) : Promise < void > ;
5672}
5773
@@ -65,6 +81,21 @@ interface CanvasPathDrawingStyles {
6581 setLineDash ( segments : Iterable < number > ) : void ;
6682}
6783
84+ interface CookieStoreManager {
85+ /**
86+ * The **`subscribe()`** method of the CookieStoreManager interface subscribes a ServiceWorkerRegistration to cookie change events.
87+ *
88+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/CookieStoreManager/subscribe)
89+ */
90+ subscribe ( subscriptions : Iterable < CookieStoreGetOptions > ) : Promise < void > ;
91+ /**
92+ * The **`unsubscribe()`** method of the CookieStoreManager interface stops the ServiceWorkerRegistration from receiving previously subscribed events.
93+ *
94+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/CookieStoreManager/unsubscribe)
95+ */
96+ unsubscribe ( subscriptions : Iterable < CookieStoreGetOptions > ) : Promise < void > ;
97+ }
98+
6899interface CustomStateSet extends Set < string > {
69100}
70101
@@ -153,7 +184,7 @@ interface HighlightRegistry extends Map<string, Highlight> {
153184
154185interface IDBDatabase {
155186 /**
156- * 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 .
187+ * The **` transaction`** method of the IDBDatabase interface immediately returns a transaction object (IDBTransaction) containing the IDBTransaction.objectStore method, which you can use to access your object store .
157188 *
158189 * [MDN Reference](https://developer.mozilla.org/docs/Web/API/IDBDatabase/transaction)
159190 */
@@ -162,9 +193,7 @@ interface IDBDatabase {
162193
163194interface IDBObjectStore {
164195 /**
165- * Creates a new index in store with the given name, keyPath and options and returns a new IDBIndex. If the keyPath and options define constraints that cannot be satisfied with the data already in store the upgrade transaction will abort with a "ConstraintError" DOMException.
166- *
167- * Throws an "InvalidStateError" DOMException if not called within an upgrade transaction.
196+ * The **`createIndex()`** method of the field/column defining a new data point for each database record to contain.
168197 *
169198 * [MDN Reference](https://developer.mozilla.org/docs/Web/API/IDBObjectStore/createIndex)
170199 */
@@ -179,7 +208,11 @@ interface MIDIInputMap extends ReadonlyMap<string, MIDIInput> {
179208}
180209
181210interface MIDIOutput {
182- /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/MIDIOutput/send) */
211+ /**
212+ * The **`send()`** method of the MIDIOutput interface queues messages for the corresponding MIDI port.
213+ *
214+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/MIDIOutput/send)
215+ */
183216 send ( data : Iterable < number > , timestamp ?: DOMHighResTimeStamp ) : void ;
184217}
185218
@@ -216,12 +249,17 @@ interface NamedNodeMap {
216249
217250interface Navigator {
218251 /**
252+ * The **`requestMediaKeySystemAccess()`** method of the Navigator interface returns a Promise which delivers a MediaKeySystemAccess object that can be used to access a particular media key system, which can in turn be used to create keys for decrypting a media stream.
219253 * Available only in secure contexts.
220254 *
221255 * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Navigator/requestMediaKeySystemAccess)
222256 */
223257 requestMediaKeySystemAccess ( keySystem : string , supportedConfigurations : Iterable < MediaKeySystemConfiguration > ) : Promise < MediaKeySystemAccess > ;
224- /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Navigator/vibrate) */
258+ /**
259+ * The **`vibrate()`** method of the Navigator interface pulses the vibration hardware on the device, if such hardware exists.
260+ *
261+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Navigator/vibrate)
262+ */
225263 vibrate ( pattern : Iterable < number > ) : boolean ;
226264}
227265
@@ -254,7 +292,11 @@ interface PluginArray {
254292}
255293
256294interface RTCRtpTransceiver {
257- /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/RTCRtpTransceiver/setCodecPreferences) */
295+ /**
296+ * The **`setCodecPreferences()`** method of the RTCRtpTransceiver interface is used to set the codecs that the transceiver allows for decoding _received_ data, in order of decreasing preference.
297+ *
298+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/RTCRtpTransceiver/setCodecPreferences)
299+ */
258300 setCodecPreferences ( codecs : Iterable < RTCRtpCodec > ) : void ;
259301}
260302
@@ -309,17 +351,33 @@ interface StyleSheetList {
309351}
310352
311353interface SubtleCrypto {
312- /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/SubtleCrypto/deriveKey) */
354+ /**
355+ * The **`deriveKey()`** method of the SubtleCrypto interface can be used to derive a secret key from a master key.
356+ *
357+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/SubtleCrypto/deriveKey)
358+ */
313359 deriveKey ( algorithm : AlgorithmIdentifier | EcdhKeyDeriveParams | HkdfParams | Pbkdf2Params , baseKey : CryptoKey , derivedKeyType : AlgorithmIdentifier | AesDerivedKeyParams | HmacImportParams | HkdfParams | Pbkdf2Params , extractable : boolean , keyUsages : Iterable < KeyUsage > ) : Promise < CryptoKey > ;
314- /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/SubtleCrypto/generateKey) */
360+ /**
361+ * The **`generateKey()`** method of the SubtleCrypto interface is used to generate a new key (for symmetric algorithms) or key pair (for public-key algorithms).
362+ *
363+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/SubtleCrypto/generateKey)
364+ */
315365 generateKey ( algorithm : "Ed25519" | { name : "Ed25519" } , extractable : boolean , keyUsages : ReadonlyArray < "sign" | "verify" > ) : Promise < CryptoKeyPair > ;
316366 generateKey ( algorithm : RsaHashedKeyGenParams | EcKeyGenParams , extractable : boolean , keyUsages : ReadonlyArray < KeyUsage > ) : Promise < CryptoKeyPair > ;
317367 generateKey ( algorithm : AesKeyGenParams | HmacKeyGenParams | Pbkdf2Params , extractable : boolean , keyUsages : ReadonlyArray < KeyUsage > ) : Promise < CryptoKey > ;
318368 generateKey ( algorithm : AlgorithmIdentifier , extractable : boolean , keyUsages : Iterable < KeyUsage > ) : Promise < CryptoKeyPair | CryptoKey > ;
319- /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/SubtleCrypto/importKey) */
369+ /**
370+ * The **`importKey()`** method of the SubtleCrypto interface imports a key: that is, it takes as input a key in an external, portable format and gives you a CryptoKey object that you can use in the Web Crypto API.
371+ *
372+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/SubtleCrypto/importKey)
373+ */
320374 importKey ( format : "jwk" , keyData : JsonWebKey , algorithm : AlgorithmIdentifier | RsaHashedImportParams | EcKeyImportParams | HmacImportParams | AesKeyAlgorithm , extractable : boolean , keyUsages : ReadonlyArray < KeyUsage > ) : Promise < CryptoKey > ;
321375 importKey ( format : Exclude < KeyFormat , "jwk" > , keyData : BufferSource , algorithm : AlgorithmIdentifier | RsaHashedImportParams | EcKeyImportParams | HmacImportParams | AesKeyAlgorithm , extractable : boolean , keyUsages : Iterable < KeyUsage > ) : Promise < CryptoKey > ;
322- /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/SubtleCrypto/unwrapKey) */
376+ /**
377+ * The **`unwrapKey()`** method of the SubtleCrypto interface 'unwraps' a key.
378+ *
379+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/SubtleCrypto/unwrapKey)
380+ */
323381 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 > ;
324382}
325383
@@ -353,18 +411,38 @@ interface ViewTransitionTypeSet extends Set<string> {
353411}
354412
355413interface WEBGL_draw_buffers {
356- /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WEBGL_draw_buffers/drawBuffersWEBGL) */
414+ /**
415+ * The **`WEBGL_draw_buffers.drawBuffersWEBGL()`** method is part of the WebGL API and allows you to define the draw buffers to which all fragment colors are written.
416+ *
417+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/WEBGL_draw_buffers/drawBuffersWEBGL)
418+ */
357419 drawBuffersWEBGL ( buffers : Iterable < GLenum > ) : void ;
358420}
359421
360422interface WEBGL_multi_draw {
361- /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WEBGL_multi_draw/multiDrawArraysInstancedWEBGL) */
423+ /**
424+ * The **`WEBGL_multi_draw.multiDrawArraysInstancedWEBGL()`** method of the WebGL API renders multiple primitives from array data.
425+ *
426+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/WEBGL_multi_draw/multiDrawArraysInstancedWEBGL)
427+ */
362428 multiDrawArraysInstancedWEBGL ( mode : GLenum , firstsList : Int32Array < ArrayBufferLike > | Iterable < GLint > , firstsOffset : number , countsList : Int32Array < ArrayBufferLike > | Iterable < GLsizei > , countsOffset : number , instanceCountsList : Int32Array < ArrayBufferLike > | Iterable < GLsizei > , instanceCountsOffset : number , drawcount : GLsizei ) : void ;
363- /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WEBGL_multi_draw/multiDrawArraysWEBGL) */
429+ /**
430+ * The **`WEBGL_multi_draw.multiDrawArraysWEBGL()`** method of the WebGL API renders multiple primitives from array data.
431+ *
432+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/WEBGL_multi_draw/multiDrawArraysWEBGL)
433+ */
364434 multiDrawArraysWEBGL ( mode : GLenum , firstsList : Int32Array < ArrayBufferLike > | Iterable < GLint > , firstsOffset : number , countsList : Int32Array < ArrayBufferLike > | Iterable < GLsizei > , countsOffset : number , drawcount : GLsizei ) : void ;
365- /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WEBGL_multi_draw/multiDrawElementsInstancedWEBGL) */
435+ /**
436+ * The **`WEBGL_multi_draw.multiDrawElementsInstancedWEBGL()`** method of the WebGL API renders multiple primitives from array data.
437+ *
438+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/WEBGL_multi_draw/multiDrawElementsInstancedWEBGL)
439+ */
366440 multiDrawElementsInstancedWEBGL ( mode : GLenum , countsList : Int32Array < ArrayBufferLike > | Iterable < GLsizei > , countsOffset : number , type : GLenum , offsetsList : Int32Array < ArrayBufferLike > | Iterable < GLsizei > , offsetsOffset : number , instanceCountsList : Int32Array < ArrayBufferLike > | Iterable < GLsizei > , instanceCountsOffset : number , drawcount : GLsizei ) : void ;
367- /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WEBGL_multi_draw/multiDrawElementsWEBGL) */
441+ /**
442+ * The **`WEBGL_multi_draw.multiDrawElementsWEBGL()`** method of the WebGL API renders multiple primitives from array data.
443+ *
444+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/WEBGL_multi_draw/multiDrawElementsWEBGL)
445+ */
368446 multiDrawElementsWEBGL ( mode : GLenum , countsList : Int32Array < ArrayBufferLike > | Iterable < GLsizei > , countsOffset : number , type : GLenum , offsetsList : Int32Array < ArrayBufferLike > | Iterable < GLsizei > , offsetsOffset : number , drawcount : GLsizei ) : void ;
369447}
370448
@@ -380,7 +458,7 @@ interface WebGL2RenderingContextBase {
380458 /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGL2RenderingContext/getActiveUniforms) */
381459 getActiveUniforms ( program : WebGLProgram , uniformIndices : Iterable < GLuint > , pname : GLenum ) : any ;
382460 /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGL2RenderingContext/getUniformIndices) */
383- getUniformIndices ( program : WebGLProgram , uniformNames : Iterable < string > ) : Iterable < GLuint > | null ;
461+ getUniformIndices ( program : WebGLProgram , uniformNames : Iterable < string > ) : GLuint [ ] | null ;
384462 /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGL2RenderingContext/invalidateFramebuffer) */
385463 invalidateFramebuffer ( target : GLenum , attachments : Iterable < GLenum > ) : void ;
386464 /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGL2RenderingContext/invalidateSubFramebuffer) */
0 commit comments