@types/web 0.0.286 → 0.0.288
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -1
- package/index.d.ts +2435 -2435
- package/package.json +1 -1
- package/ts5.5/index.d.ts +2423 -2423
- package/ts5.5/iterable.d.ts +12 -12
- package/ts5.6/index.d.ts +2423 -2423
- package/ts5.6/iterable.d.ts +12 -12
- package/ts5.9/index.d.ts +2423 -2423
- package/ts5.9/iterable.d.ts +12 -12
package/ts5.5/iterable.d.ts
CHANGED
|
@@ -16,13 +16,13 @@ interface AudioParamMap extends ReadonlyMap<string, AudioParam> {
|
|
|
16
16
|
|
|
17
17
|
interface BaseAudioContext {
|
|
18
18
|
/**
|
|
19
|
-
* The **`createIIRFilter()`** method of the BaseAudioContext interface creates an IIRFilterNode, which represents a general
|
|
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
20
|
*
|
|
21
21
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/BaseAudioContext/createIIRFilter)
|
|
22
22
|
*/
|
|
23
23
|
createIIRFilter(feedforward: Iterable<number>, feedback: Iterable<number>): IIRFilterNode;
|
|
24
24
|
/**
|
|
25
|
-
* The
|
|
25
|
+
* The **`createPeriodicWave()`** method of the BaseAudioContext interface is used to create a PeriodicWave. This wave is used to define a periodic waveform that can be used to shape the output of an OscillatorNode.
|
|
26
26
|
*
|
|
27
27
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/BaseAudioContext/createPeriodicWave)
|
|
28
28
|
*/
|
|
@@ -64,7 +64,7 @@ interface CSSUnparsedValue {
|
|
|
64
64
|
|
|
65
65
|
interface Cache {
|
|
66
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.
|
|
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. The request objects created during retrieval become keys to the stored response operations.
|
|
68
68
|
*
|
|
69
69
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Cache/addAll)
|
|
70
70
|
*/
|
|
@@ -185,7 +185,7 @@ interface IDBDatabase {
|
|
|
185
185
|
|
|
186
186
|
interface IDBObjectStore {
|
|
187
187
|
/**
|
|
188
|
-
* The **`createIndex()`** method of the IDBObjectStore interface creates and returns a new IDBIndex object in the connected database.
|
|
188
|
+
* The **`createIndex()`** method of the IDBObjectStore interface creates and returns a new IDBIndex object in the connected database. It creates a new field/column defining a new data point for each database record to contain.
|
|
189
189
|
*
|
|
190
190
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/IDBObjectStore/createIndex)
|
|
191
191
|
*/
|
|
@@ -201,7 +201,7 @@ interface MIDIInputMap extends ReadonlyMap<string, MIDIInput> {
|
|
|
201
201
|
|
|
202
202
|
interface MIDIOutput {
|
|
203
203
|
/**
|
|
204
|
-
* The **`send()`** method of the MIDIOutput interface queues messages for the corresponding MIDI port.
|
|
204
|
+
* The **`send()`** method of the MIDIOutput interface queues messages for the corresponding MIDI port. The message can be sent immediately, or with an optional timestamp to delay sending.
|
|
205
205
|
*
|
|
206
206
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/MIDIOutput/send)
|
|
207
207
|
*/
|
|
@@ -244,7 +244,7 @@ interface Navigator {
|
|
|
244
244
|
*/
|
|
245
245
|
requestMediaKeySystemAccess(keySystem: string, supportedConfigurations: Iterable<MediaKeySystemConfiguration>): Promise<MediaKeySystemAccess>;
|
|
246
246
|
/**
|
|
247
|
-
* The **`vibrate()`** method of the Navigator interface pulses the vibration hardware on the device, if such hardware exists.
|
|
247
|
+
* The **`vibrate()`** method of the Navigator interface pulses the vibration hardware on the device, if such hardware exists. If the device doesn't support vibration, this method has no effect. If a vibration pattern is already in progress when this method is called, the previous pattern is halted and the new one begins instead.
|
|
248
248
|
*
|
|
249
249
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Navigator/vibrate)
|
|
250
250
|
*/
|
|
@@ -281,7 +281,7 @@ interface PluginArray {
|
|
|
281
281
|
|
|
282
282
|
interface RTCRtpTransceiver {
|
|
283
283
|
/**
|
|
284
|
-
* The **`setCodecPreferences()`** method of the RTCRtpTransceiver interface is used to set the codecs that the transceiver allows for decoding
|
|
284
|
+
* 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.
|
|
285
285
|
*
|
|
286
286
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/RTCRtpTransceiver/setCodecPreferences)
|
|
287
287
|
*/
|
|
@@ -358,7 +358,7 @@ interface SubtleCrypto {
|
|
|
358
358
|
importKey(format: "jwk", keyData: JsonWebKey, algorithm: AlgorithmIdentifier | RsaHashedImportParams | EcKeyImportParams | HmacImportParams | AesKeyAlgorithm, extractable: boolean, keyUsages: ReadonlyArray<KeyUsage>): Promise<CryptoKey>;
|
|
359
359
|
importKey(format: Exclude<KeyFormat, "jwk">, keyData: BufferSource, algorithm: AlgorithmIdentifier | RsaHashedImportParams | EcKeyImportParams | HmacImportParams | AesKeyAlgorithm, extractable: boolean, keyUsages: Iterable<KeyUsage>): Promise<CryptoKey>;
|
|
360
360
|
/**
|
|
361
|
-
* The **`unwrapKey()`** method of the SubtleCrypto interface
|
|
361
|
+
* The **`unwrapKey()`** method of the SubtleCrypto interface "unwraps" a key. This means that it takes as its input a key that has been exported and then encrypted (also called "wrapped"). It decrypts the key and then imports it, returning a CryptoKey object that can be used in the Web Crypto API.
|
|
362
362
|
*
|
|
363
363
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/SubtleCrypto/unwrapKey)
|
|
364
364
|
*/
|
|
@@ -401,25 +401,25 @@ interface WEBGL_draw_buffers {
|
|
|
401
401
|
|
|
402
402
|
interface WEBGL_multi_draw {
|
|
403
403
|
/**
|
|
404
|
-
* The **`WEBGL_multi_draw.multiDrawArraysInstancedWEBGL()`** method of the WebGL API renders multiple primitives from array data.
|
|
404
|
+
* The **`WEBGL_multi_draw.multiDrawArraysInstancedWEBGL()`** method of the WebGL API renders multiple primitives from array data. It is identical to multiple calls to the gl.drawArraysInstanced() method.
|
|
405
405
|
*
|
|
406
406
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/WEBGL_multi_draw/multiDrawArraysInstancedWEBGL)
|
|
407
407
|
*/
|
|
408
408
|
multiDrawArraysInstancedWEBGL(mode: GLenum, firstsList: Int32Array | Iterable<GLint>, firstsOffset: number, countsList: Int32Array | Iterable<GLsizei>, countsOffset: number, instanceCountsList: Int32Array | Iterable<GLsizei>, instanceCountsOffset: number, drawcount: GLsizei): void;
|
|
409
409
|
/**
|
|
410
|
-
* The **`WEBGL_multi_draw.multiDrawArraysWEBGL()`** method of the WebGL API renders multiple primitives from array data.
|
|
410
|
+
* The **`WEBGL_multi_draw.multiDrawArraysWEBGL()`** method of the WebGL API renders multiple primitives from array data. It is identical to multiple calls to the gl.drawArrays() method.
|
|
411
411
|
*
|
|
412
412
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/WEBGL_multi_draw/multiDrawArraysWEBGL)
|
|
413
413
|
*/
|
|
414
414
|
multiDrawArraysWEBGL(mode: GLenum, firstsList: Int32Array | Iterable<GLint>, firstsOffset: number, countsList: Int32Array | Iterable<GLsizei>, countsOffset: number, drawcount: GLsizei): void;
|
|
415
415
|
/**
|
|
416
|
-
* The **`WEBGL_multi_draw.multiDrawElementsInstancedWEBGL()`** method of the WebGL API renders multiple primitives from array data.
|
|
416
|
+
* The **`WEBGL_multi_draw.multiDrawElementsInstancedWEBGL()`** method of the WebGL API renders multiple primitives from array data. It is identical to multiple calls to the gl.drawElementsInstanced() method.
|
|
417
417
|
*
|
|
418
418
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/WEBGL_multi_draw/multiDrawElementsInstancedWEBGL)
|
|
419
419
|
*/
|
|
420
420
|
multiDrawElementsInstancedWEBGL(mode: GLenum, countsList: Int32Array | Iterable<GLsizei>, countsOffset: number, type: GLenum, offsetsList: Int32Array | Iterable<GLsizei>, offsetsOffset: number, instanceCountsList: Int32Array | Iterable<GLsizei>, instanceCountsOffset: number, drawcount: GLsizei): void;
|
|
421
421
|
/**
|
|
422
|
-
* The **`WEBGL_multi_draw.multiDrawElementsWEBGL()`** method of the WebGL API renders multiple primitives from array data.
|
|
422
|
+
* The **`WEBGL_multi_draw.multiDrawElementsWEBGL()`** method of the WebGL API renders multiple primitives from array data. It is identical to multiple calls to the gl.drawElements() method.
|
|
423
423
|
*
|
|
424
424
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/WEBGL_multi_draw/multiDrawElementsWEBGL)
|
|
425
425
|
*/
|