@types/web 0.0.285 → 0.0.287
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 +48 -16
- package/package.json +1 -1
- package/ts5.5/index.d.ts +48 -16
- package/ts5.6/index.d.ts +48 -16
- package/ts5.9/index.d.ts +48 -16
package/README.md
CHANGED
|
@@ -47,4 +47,4 @@ Prior to `@types/web` the web APIs were deployed with a version of TypeScript, a
|
|
|
47
47
|
|
|
48
48
|
## Deploy Metadata
|
|
49
49
|
|
|
50
|
-
You can read what changed in version 0.0.
|
|
50
|
+
You can read what changed in version 0.0.287 at https://github.com/microsoft/TypeScript-DOM-lib-generator/releases/tag/%40types%2Fweb%400.0.287.
|
package/index.d.ts
CHANGED
|
@@ -8515,7 +8515,7 @@ declare var CompressionStream: {
|
|
|
8515
8515
|
*/
|
|
8516
8516
|
interface ConstantSourceNode extends AudioScheduledSourceNode {
|
|
8517
8517
|
/**
|
|
8518
|
-
* The read-only `offset` property of the ConstantSourceNode interface returns
|
|
8518
|
+
* The read-only `offset` property of the ConstantSourceNode interface returns an AudioParam object indicating the numeric a-rate value which is always returned by the source when asked for the next sample.
|
|
8519
8519
|
*
|
|
8520
8520
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/ConstantSourceNode/offset)
|
|
8521
8521
|
*/
|
|
@@ -8788,7 +8788,7 @@ interface Crypto {
|
|
|
8788
8788
|
*
|
|
8789
8789
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Crypto/getRandomValues)
|
|
8790
8790
|
*/
|
|
8791
|
-
getRandomValues<T extends
|
|
8791
|
+
getRandomValues<T extends Exclude<BufferSource, ArrayBuffer>>(array: T): T;
|
|
8792
8792
|
/**
|
|
8793
8793
|
* The **`randomUUID()`** method of the Crypto interface is used to generate a v4 UUID using a cryptographically secure random number generator.
|
|
8794
8794
|
* Available only in secure contexts.
|
|
@@ -9171,11 +9171,23 @@ interface DOMMatrix extends DOMMatrixReadOnly {
|
|
|
9171
9171
|
declare var DOMMatrix: {
|
|
9172
9172
|
prototype: DOMMatrix;
|
|
9173
9173
|
new(init?: string | number[]): DOMMatrix;
|
|
9174
|
-
/**
|
|
9174
|
+
/**
|
|
9175
|
+
* The **`fromFloat32Array()`** static method of the DOMMatrix interface creates a new DOMMatrix object given an array of single-precision (32-bit) floating-point values.
|
|
9176
|
+
*
|
|
9177
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrix/fromFloat32Array_static)
|
|
9178
|
+
*/
|
|
9175
9179
|
fromFloat32Array(array32: Float32Array<ArrayBuffer>): DOMMatrix;
|
|
9176
|
-
/**
|
|
9180
|
+
/**
|
|
9181
|
+
* The **`fromFloat64Array()`** static method of the DOMMatrix interface creates a new DOMMatrix object given an array of double-precision (64-bit) floating-point values.
|
|
9182
|
+
*
|
|
9183
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrix/fromFloat64Array_static)
|
|
9184
|
+
*/
|
|
9177
9185
|
fromFloat64Array(array64: Float64Array<ArrayBuffer>): DOMMatrix;
|
|
9178
|
-
/**
|
|
9186
|
+
/**
|
|
9187
|
+
* The **`fromMatrix()`** static method of the DOMMatrix interface creates a new DOMMatrix object given an existing matrix or an object which provides the values for its properties.
|
|
9188
|
+
*
|
|
9189
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrix/fromMatrix_static)
|
|
9190
|
+
*/
|
|
9179
9191
|
fromMatrix(other?: DOMMatrixInit): DOMMatrix;
|
|
9180
9192
|
};
|
|
9181
9193
|
|
|
@@ -9351,11 +9363,23 @@ interface DOMMatrixReadOnly {
|
|
|
9351
9363
|
declare var DOMMatrixReadOnly: {
|
|
9352
9364
|
prototype: DOMMatrixReadOnly;
|
|
9353
9365
|
new(init?: string | number[]): DOMMatrixReadOnly;
|
|
9354
|
-
/**
|
|
9366
|
+
/**
|
|
9367
|
+
* The **`fromFloat32Array()`** static method of the DOMMatrixReadOnly interface creates a new DOMMatrixReadOnly object given an array of single-precision (32-bit) floating-point values.
|
|
9368
|
+
*
|
|
9369
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly/fromFloat32Array_static)
|
|
9370
|
+
*/
|
|
9355
9371
|
fromFloat32Array(array32: Float32Array<ArrayBuffer>): DOMMatrixReadOnly;
|
|
9356
|
-
/**
|
|
9372
|
+
/**
|
|
9373
|
+
* The **`fromFloat64Array()`** static method of the DOMMatrixReadOnly interface creates a new DOMMatrixReadOnly object given an array of double-precision (64-bit) floating-point values.
|
|
9374
|
+
*
|
|
9375
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly/fromFloat64Array_static)
|
|
9376
|
+
*/
|
|
9357
9377
|
fromFloat64Array(array64: Float64Array<ArrayBuffer>): DOMMatrixReadOnly;
|
|
9358
|
-
/**
|
|
9378
|
+
/**
|
|
9379
|
+
* The **`fromMatrix()`** static method of the DOMMatrixReadOnly interface creates a new DOMMatrixReadOnly object given an existing matrix or an object which provides the values for its properties.
|
|
9380
|
+
*
|
|
9381
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly/fromMatrix_static)
|
|
9382
|
+
*/
|
|
9359
9383
|
fromMatrix(other?: DOMMatrixInit): DOMMatrixReadOnly;
|
|
9360
9384
|
};
|
|
9361
9385
|
|
|
@@ -9526,9 +9550,17 @@ interface DOMQuad {
|
|
|
9526
9550
|
declare var DOMQuad: {
|
|
9527
9551
|
prototype: DOMQuad;
|
|
9528
9552
|
new(p1?: DOMPointInit, p2?: DOMPointInit, p3?: DOMPointInit, p4?: DOMPointInit): DOMQuad;
|
|
9529
|
-
/**
|
|
9553
|
+
/**
|
|
9554
|
+
* The **`fromQuad()`** static method of the DOMQuad interface returns a new `DOMQuad` object based on the provided set of coordinates in the shape of another `DOMQuad` object.
|
|
9555
|
+
*
|
|
9556
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMQuad/fromQuad_static)
|
|
9557
|
+
*/
|
|
9530
9558
|
fromQuad(other?: DOMQuadInit): DOMQuad;
|
|
9531
|
-
/**
|
|
9559
|
+
/**
|
|
9560
|
+
* The **`fromRect()`** static method of the DOMQuad interface returns a new `DOMQuad` object based on the provided set of coordinates in the shape of a DOMRect object.
|
|
9561
|
+
*
|
|
9562
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMQuad/fromRect_static)
|
|
9563
|
+
*/
|
|
9532
9564
|
fromRect(other?: DOMRectInit): DOMQuad;
|
|
9533
9565
|
};
|
|
9534
9566
|
|
|
@@ -19020,7 +19052,7 @@ declare var IDBVersionChangeEvent: {
|
|
|
19020
19052
|
};
|
|
19021
19053
|
|
|
19022
19054
|
/**
|
|
19023
|
-
* The **`IIRFilterNode`** interface of the Web Audio API is
|
|
19055
|
+
* The **`IIRFilterNode`** interface of the Web Audio API is an AudioNode processor which implements a general **infinite impulse response** (IIR) filter; this type of filter can be used to implement tone control devices and graphic equalizers as well.
|
|
19024
19056
|
*
|
|
19025
19057
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/IIRFilterNode)
|
|
19026
19058
|
*/
|
|
@@ -19145,7 +19177,7 @@ interface ImageCapture {
|
|
|
19145
19177
|
*/
|
|
19146
19178
|
getPhotoSettings(): Promise<PhotoSettings>;
|
|
19147
19179
|
/**
|
|
19148
|
-
* The **`grabFrame()`** method of the ImageCapture interface takes a snapshot of the live video in a MediaStreamTrack and returns a Promise that resolves with
|
|
19180
|
+
* The **`grabFrame()`** method of the ImageCapture interface takes a snapshot of the live video in a MediaStreamTrack and returns a Promise that resolves with an ImageBitmap containing the snapshot.
|
|
19149
19181
|
*
|
|
19150
19182
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/ImageCapture/grabFrame)
|
|
19151
19183
|
*/
|
|
@@ -26316,7 +26348,7 @@ interface ReadableStreamBYOBReader extends ReadableStreamGenericReader {
|
|
|
26316
26348
|
*
|
|
26317
26349
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/ReadableStreamBYOBReader/read)
|
|
26318
26350
|
*/
|
|
26319
|
-
read<T extends
|
|
26351
|
+
read<T extends Exclude<BufferSource, ArrayBuffer>>(view: T, options?: ReadableStreamBYOBReaderReadOptions): Promise<ReadableStreamReadResult<T>>;
|
|
26320
26352
|
/**
|
|
26321
26353
|
* The **`releaseLock()`** method of the ReadableStreamBYOBReader interface releases the reader's lock on the stream.
|
|
26322
26354
|
*
|
|
@@ -29806,7 +29838,7 @@ interface SVGSVGElement extends SVGGraphicsElement, SVGFitToViewBox, WindowEvent
|
|
|
29806
29838
|
*/
|
|
29807
29839
|
createSVGPoint(): DOMPoint;
|
|
29808
29840
|
/**
|
|
29809
|
-
* The `createSVGRect()` method of the SVGSVGElement interface creates
|
|
29841
|
+
* The `createSVGRect()` method of the SVGSVGElement interface creates a DOMRect object outside of any document trees.
|
|
29810
29842
|
*
|
|
29811
29843
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGSVGElement/createSVGRect)
|
|
29812
29844
|
*/
|
|
@@ -31356,7 +31388,7 @@ interface SourceBuffer extends EventTarget {
|
|
|
31356
31388
|
*/
|
|
31357
31389
|
timestampOffset: number;
|
|
31358
31390
|
/**
|
|
31359
|
-
* The **`updating`** read-only property of the SourceBuffer interface indicates whether the `SourceBuffer` is currently being updated — i.e., whether an SourceBuffer.appendBuffer
|
|
31391
|
+
* The **`updating`** read-only property of the SourceBuffer interface indicates whether the `SourceBuffer` is currently being updated — i.e., whether an SourceBuffer.appendBuffer or SourceBuffer.remove operation is currently in progress.
|
|
31360
31392
|
*
|
|
31361
31393
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/SourceBuffer/updating)
|
|
31362
31394
|
*/
|
|
@@ -36833,7 +36865,7 @@ interface WebSocket extends EventTarget {
|
|
|
36833
36865
|
*
|
|
36834
36866
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebSocket/send)
|
|
36835
36867
|
*/
|
|
36836
|
-
send(data:
|
|
36868
|
+
send(data: BufferSource | Blob | string): void;
|
|
36837
36869
|
readonly CONNECTING: 0;
|
|
36838
36870
|
readonly OPEN: 1;
|
|
36839
36871
|
readonly CLOSING: 2;
|
package/package.json
CHANGED
package/ts5.5/index.d.ts
CHANGED
|
@@ -8504,7 +8504,7 @@ declare var CompressionStream: {
|
|
|
8504
8504
|
*/
|
|
8505
8505
|
interface ConstantSourceNode extends AudioScheduledSourceNode {
|
|
8506
8506
|
/**
|
|
8507
|
-
* The read-only `offset` property of the ConstantSourceNode interface returns
|
|
8507
|
+
* The read-only `offset` property of the ConstantSourceNode interface returns an AudioParam object indicating the numeric a-rate value which is always returned by the source when asked for the next sample.
|
|
8508
8508
|
*
|
|
8509
8509
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/ConstantSourceNode/offset)
|
|
8510
8510
|
*/
|
|
@@ -8777,7 +8777,7 @@ interface Crypto {
|
|
|
8777
8777
|
*
|
|
8778
8778
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Crypto/getRandomValues)
|
|
8779
8779
|
*/
|
|
8780
|
-
getRandomValues<T extends
|
|
8780
|
+
getRandomValues<T extends Exclude<BufferSource, ArrayBuffer>>(array: T): T;
|
|
8781
8781
|
/**
|
|
8782
8782
|
* The **`randomUUID()`** method of the Crypto interface is used to generate a v4 UUID using a cryptographically secure random number generator.
|
|
8783
8783
|
* Available only in secure contexts.
|
|
@@ -9160,11 +9160,23 @@ interface DOMMatrix extends DOMMatrixReadOnly {
|
|
|
9160
9160
|
declare var DOMMatrix: {
|
|
9161
9161
|
prototype: DOMMatrix;
|
|
9162
9162
|
new(init?: string | number[]): DOMMatrix;
|
|
9163
|
-
/**
|
|
9163
|
+
/**
|
|
9164
|
+
* The **`fromFloat32Array()`** static method of the DOMMatrix interface creates a new DOMMatrix object given an array of single-precision (32-bit) floating-point values.
|
|
9165
|
+
*
|
|
9166
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrix/fromFloat32Array_static)
|
|
9167
|
+
*/
|
|
9164
9168
|
fromFloat32Array(array32: Float32Array): DOMMatrix;
|
|
9165
|
-
/**
|
|
9169
|
+
/**
|
|
9170
|
+
* The **`fromFloat64Array()`** static method of the DOMMatrix interface creates a new DOMMatrix object given an array of double-precision (64-bit) floating-point values.
|
|
9171
|
+
*
|
|
9172
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrix/fromFloat64Array_static)
|
|
9173
|
+
*/
|
|
9166
9174
|
fromFloat64Array(array64: Float64Array): DOMMatrix;
|
|
9167
|
-
/**
|
|
9175
|
+
/**
|
|
9176
|
+
* The **`fromMatrix()`** static method of the DOMMatrix interface creates a new DOMMatrix object given an existing matrix or an object which provides the values for its properties.
|
|
9177
|
+
*
|
|
9178
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrix/fromMatrix_static)
|
|
9179
|
+
*/
|
|
9168
9180
|
fromMatrix(other?: DOMMatrixInit): DOMMatrix;
|
|
9169
9181
|
};
|
|
9170
9182
|
|
|
@@ -9340,11 +9352,23 @@ interface DOMMatrixReadOnly {
|
|
|
9340
9352
|
declare var DOMMatrixReadOnly: {
|
|
9341
9353
|
prototype: DOMMatrixReadOnly;
|
|
9342
9354
|
new(init?: string | number[]): DOMMatrixReadOnly;
|
|
9343
|
-
/**
|
|
9355
|
+
/**
|
|
9356
|
+
* The **`fromFloat32Array()`** static method of the DOMMatrixReadOnly interface creates a new DOMMatrixReadOnly object given an array of single-precision (32-bit) floating-point values.
|
|
9357
|
+
*
|
|
9358
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly/fromFloat32Array_static)
|
|
9359
|
+
*/
|
|
9344
9360
|
fromFloat32Array(array32: Float32Array): DOMMatrixReadOnly;
|
|
9345
|
-
/**
|
|
9361
|
+
/**
|
|
9362
|
+
* The **`fromFloat64Array()`** static method of the DOMMatrixReadOnly interface creates a new DOMMatrixReadOnly object given an array of double-precision (64-bit) floating-point values.
|
|
9363
|
+
*
|
|
9364
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly/fromFloat64Array_static)
|
|
9365
|
+
*/
|
|
9346
9366
|
fromFloat64Array(array64: Float64Array): DOMMatrixReadOnly;
|
|
9347
|
-
/**
|
|
9367
|
+
/**
|
|
9368
|
+
* The **`fromMatrix()`** static method of the DOMMatrixReadOnly interface creates a new DOMMatrixReadOnly object given an existing matrix or an object which provides the values for its properties.
|
|
9369
|
+
*
|
|
9370
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly/fromMatrix_static)
|
|
9371
|
+
*/
|
|
9348
9372
|
fromMatrix(other?: DOMMatrixInit): DOMMatrixReadOnly;
|
|
9349
9373
|
};
|
|
9350
9374
|
|
|
@@ -9515,9 +9539,17 @@ interface DOMQuad {
|
|
|
9515
9539
|
declare var DOMQuad: {
|
|
9516
9540
|
prototype: DOMQuad;
|
|
9517
9541
|
new(p1?: DOMPointInit, p2?: DOMPointInit, p3?: DOMPointInit, p4?: DOMPointInit): DOMQuad;
|
|
9518
|
-
/**
|
|
9542
|
+
/**
|
|
9543
|
+
* The **`fromQuad()`** static method of the DOMQuad interface returns a new `DOMQuad` object based on the provided set of coordinates in the shape of another `DOMQuad` object.
|
|
9544
|
+
*
|
|
9545
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMQuad/fromQuad_static)
|
|
9546
|
+
*/
|
|
9519
9547
|
fromQuad(other?: DOMQuadInit): DOMQuad;
|
|
9520
|
-
/**
|
|
9548
|
+
/**
|
|
9549
|
+
* The **`fromRect()`** static method of the DOMQuad interface returns a new `DOMQuad` object based on the provided set of coordinates in the shape of a DOMRect object.
|
|
9550
|
+
*
|
|
9551
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMQuad/fromRect_static)
|
|
9552
|
+
*/
|
|
9521
9553
|
fromRect(other?: DOMRectInit): DOMQuad;
|
|
9522
9554
|
};
|
|
9523
9555
|
|
|
@@ -18996,7 +19028,7 @@ declare var IDBVersionChangeEvent: {
|
|
|
18996
19028
|
};
|
|
18997
19029
|
|
|
18998
19030
|
/**
|
|
18999
|
-
* The **`IIRFilterNode`** interface of the Web Audio API is
|
|
19031
|
+
* The **`IIRFilterNode`** interface of the Web Audio API is an AudioNode processor which implements a general **infinite impulse response** (IIR) filter; this type of filter can be used to implement tone control devices and graphic equalizers as well.
|
|
19000
19032
|
*
|
|
19001
19033
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/IIRFilterNode)
|
|
19002
19034
|
*/
|
|
@@ -19121,7 +19153,7 @@ interface ImageCapture {
|
|
|
19121
19153
|
*/
|
|
19122
19154
|
getPhotoSettings(): Promise<PhotoSettings>;
|
|
19123
19155
|
/**
|
|
19124
|
-
* The **`grabFrame()`** method of the ImageCapture interface takes a snapshot of the live video in a MediaStreamTrack and returns a Promise that resolves with
|
|
19156
|
+
* The **`grabFrame()`** method of the ImageCapture interface takes a snapshot of the live video in a MediaStreamTrack and returns a Promise that resolves with an ImageBitmap containing the snapshot.
|
|
19125
19157
|
*
|
|
19126
19158
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/ImageCapture/grabFrame)
|
|
19127
19159
|
*/
|
|
@@ -26292,7 +26324,7 @@ interface ReadableStreamBYOBReader extends ReadableStreamGenericReader {
|
|
|
26292
26324
|
*
|
|
26293
26325
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/ReadableStreamBYOBReader/read)
|
|
26294
26326
|
*/
|
|
26295
|
-
read<T extends
|
|
26327
|
+
read<T extends Exclude<BufferSource, ArrayBuffer>>(view: T, options?: ReadableStreamBYOBReaderReadOptions): Promise<ReadableStreamReadResult<T>>;
|
|
26296
26328
|
/**
|
|
26297
26329
|
* The **`releaseLock()`** method of the ReadableStreamBYOBReader interface releases the reader's lock on the stream.
|
|
26298
26330
|
*
|
|
@@ -29781,7 +29813,7 @@ interface SVGSVGElement extends SVGGraphicsElement, SVGFitToViewBox, WindowEvent
|
|
|
29781
29813
|
*/
|
|
29782
29814
|
createSVGPoint(): DOMPoint;
|
|
29783
29815
|
/**
|
|
29784
|
-
* The `createSVGRect()` method of the SVGSVGElement interface creates
|
|
29816
|
+
* The `createSVGRect()` method of the SVGSVGElement interface creates a DOMRect object outside of any document trees.
|
|
29785
29817
|
*
|
|
29786
29818
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGSVGElement/createSVGRect)
|
|
29787
29819
|
*/
|
|
@@ -31331,7 +31363,7 @@ interface SourceBuffer extends EventTarget {
|
|
|
31331
31363
|
*/
|
|
31332
31364
|
timestampOffset: number;
|
|
31333
31365
|
/**
|
|
31334
|
-
* The **`updating`** read-only property of the SourceBuffer interface indicates whether the `SourceBuffer` is currently being updated — i.e., whether an SourceBuffer.appendBuffer
|
|
31366
|
+
* The **`updating`** read-only property of the SourceBuffer interface indicates whether the `SourceBuffer` is currently being updated — i.e., whether an SourceBuffer.appendBuffer or SourceBuffer.remove operation is currently in progress.
|
|
31335
31367
|
*
|
|
31336
31368
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/SourceBuffer/updating)
|
|
31337
31369
|
*/
|
|
@@ -36807,7 +36839,7 @@ interface WebSocket extends EventTarget {
|
|
|
36807
36839
|
*
|
|
36808
36840
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebSocket/send)
|
|
36809
36841
|
*/
|
|
36810
|
-
send(data:
|
|
36842
|
+
send(data: BufferSource | Blob | string): void;
|
|
36811
36843
|
readonly CONNECTING: 0;
|
|
36812
36844
|
readonly OPEN: 1;
|
|
36813
36845
|
readonly CLOSING: 2;
|
package/ts5.6/index.d.ts
CHANGED
|
@@ -8512,7 +8512,7 @@ declare var CompressionStream: {
|
|
|
8512
8512
|
*/
|
|
8513
8513
|
interface ConstantSourceNode extends AudioScheduledSourceNode {
|
|
8514
8514
|
/**
|
|
8515
|
-
* The read-only `offset` property of the ConstantSourceNode interface returns
|
|
8515
|
+
* The read-only `offset` property of the ConstantSourceNode interface returns an AudioParam object indicating the numeric a-rate value which is always returned by the source when asked for the next sample.
|
|
8516
8516
|
*
|
|
8517
8517
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/ConstantSourceNode/offset)
|
|
8518
8518
|
*/
|
|
@@ -8785,7 +8785,7 @@ interface Crypto {
|
|
|
8785
8785
|
*
|
|
8786
8786
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Crypto/getRandomValues)
|
|
8787
8787
|
*/
|
|
8788
|
-
getRandomValues<T extends
|
|
8788
|
+
getRandomValues<T extends Exclude<BufferSource, ArrayBuffer>>(array: T): T;
|
|
8789
8789
|
/**
|
|
8790
8790
|
* The **`randomUUID()`** method of the Crypto interface is used to generate a v4 UUID using a cryptographically secure random number generator.
|
|
8791
8791
|
* Available only in secure contexts.
|
|
@@ -9168,11 +9168,23 @@ interface DOMMatrix extends DOMMatrixReadOnly {
|
|
|
9168
9168
|
declare var DOMMatrix: {
|
|
9169
9169
|
prototype: DOMMatrix;
|
|
9170
9170
|
new(init?: string | number[]): DOMMatrix;
|
|
9171
|
-
/**
|
|
9171
|
+
/**
|
|
9172
|
+
* The **`fromFloat32Array()`** static method of the DOMMatrix interface creates a new DOMMatrix object given an array of single-precision (32-bit) floating-point values.
|
|
9173
|
+
*
|
|
9174
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrix/fromFloat32Array_static)
|
|
9175
|
+
*/
|
|
9172
9176
|
fromFloat32Array(array32: Float32Array): DOMMatrix;
|
|
9173
|
-
/**
|
|
9177
|
+
/**
|
|
9178
|
+
* The **`fromFloat64Array()`** static method of the DOMMatrix interface creates a new DOMMatrix object given an array of double-precision (64-bit) floating-point values.
|
|
9179
|
+
*
|
|
9180
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrix/fromFloat64Array_static)
|
|
9181
|
+
*/
|
|
9174
9182
|
fromFloat64Array(array64: Float64Array): DOMMatrix;
|
|
9175
|
-
/**
|
|
9183
|
+
/**
|
|
9184
|
+
* The **`fromMatrix()`** static method of the DOMMatrix interface creates a new DOMMatrix object given an existing matrix or an object which provides the values for its properties.
|
|
9185
|
+
*
|
|
9186
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrix/fromMatrix_static)
|
|
9187
|
+
*/
|
|
9176
9188
|
fromMatrix(other?: DOMMatrixInit): DOMMatrix;
|
|
9177
9189
|
};
|
|
9178
9190
|
|
|
@@ -9348,11 +9360,23 @@ interface DOMMatrixReadOnly {
|
|
|
9348
9360
|
declare var DOMMatrixReadOnly: {
|
|
9349
9361
|
prototype: DOMMatrixReadOnly;
|
|
9350
9362
|
new(init?: string | number[]): DOMMatrixReadOnly;
|
|
9351
|
-
/**
|
|
9363
|
+
/**
|
|
9364
|
+
* The **`fromFloat32Array()`** static method of the DOMMatrixReadOnly interface creates a new DOMMatrixReadOnly object given an array of single-precision (32-bit) floating-point values.
|
|
9365
|
+
*
|
|
9366
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly/fromFloat32Array_static)
|
|
9367
|
+
*/
|
|
9352
9368
|
fromFloat32Array(array32: Float32Array): DOMMatrixReadOnly;
|
|
9353
|
-
/**
|
|
9369
|
+
/**
|
|
9370
|
+
* The **`fromFloat64Array()`** static method of the DOMMatrixReadOnly interface creates a new DOMMatrixReadOnly object given an array of double-precision (64-bit) floating-point values.
|
|
9371
|
+
*
|
|
9372
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly/fromFloat64Array_static)
|
|
9373
|
+
*/
|
|
9354
9374
|
fromFloat64Array(array64: Float64Array): DOMMatrixReadOnly;
|
|
9355
|
-
/**
|
|
9375
|
+
/**
|
|
9376
|
+
* The **`fromMatrix()`** static method of the DOMMatrixReadOnly interface creates a new DOMMatrixReadOnly object given an existing matrix or an object which provides the values for its properties.
|
|
9377
|
+
*
|
|
9378
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly/fromMatrix_static)
|
|
9379
|
+
*/
|
|
9356
9380
|
fromMatrix(other?: DOMMatrixInit): DOMMatrixReadOnly;
|
|
9357
9381
|
};
|
|
9358
9382
|
|
|
@@ -9523,9 +9547,17 @@ interface DOMQuad {
|
|
|
9523
9547
|
declare var DOMQuad: {
|
|
9524
9548
|
prototype: DOMQuad;
|
|
9525
9549
|
new(p1?: DOMPointInit, p2?: DOMPointInit, p3?: DOMPointInit, p4?: DOMPointInit): DOMQuad;
|
|
9526
|
-
/**
|
|
9550
|
+
/**
|
|
9551
|
+
* The **`fromQuad()`** static method of the DOMQuad interface returns a new `DOMQuad` object based on the provided set of coordinates in the shape of another `DOMQuad` object.
|
|
9552
|
+
*
|
|
9553
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMQuad/fromQuad_static)
|
|
9554
|
+
*/
|
|
9527
9555
|
fromQuad(other?: DOMQuadInit): DOMQuad;
|
|
9528
|
-
/**
|
|
9556
|
+
/**
|
|
9557
|
+
* The **`fromRect()`** static method of the DOMQuad interface returns a new `DOMQuad` object based on the provided set of coordinates in the shape of a DOMRect object.
|
|
9558
|
+
*
|
|
9559
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMQuad/fromRect_static)
|
|
9560
|
+
*/
|
|
9529
9561
|
fromRect(other?: DOMRectInit): DOMQuad;
|
|
9530
9562
|
};
|
|
9531
9563
|
|
|
@@ -19017,7 +19049,7 @@ declare var IDBVersionChangeEvent: {
|
|
|
19017
19049
|
};
|
|
19018
19050
|
|
|
19019
19051
|
/**
|
|
19020
|
-
* The **`IIRFilterNode`** interface of the Web Audio API is
|
|
19052
|
+
* The **`IIRFilterNode`** interface of the Web Audio API is an AudioNode processor which implements a general **infinite impulse response** (IIR) filter; this type of filter can be used to implement tone control devices and graphic equalizers as well.
|
|
19021
19053
|
*
|
|
19022
19054
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/IIRFilterNode)
|
|
19023
19055
|
*/
|
|
@@ -19142,7 +19174,7 @@ interface ImageCapture {
|
|
|
19142
19174
|
*/
|
|
19143
19175
|
getPhotoSettings(): Promise<PhotoSettings>;
|
|
19144
19176
|
/**
|
|
19145
|
-
* The **`grabFrame()`** method of the ImageCapture interface takes a snapshot of the live video in a MediaStreamTrack and returns a Promise that resolves with
|
|
19177
|
+
* The **`grabFrame()`** method of the ImageCapture interface takes a snapshot of the live video in a MediaStreamTrack and returns a Promise that resolves with an ImageBitmap containing the snapshot.
|
|
19146
19178
|
*
|
|
19147
19179
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/ImageCapture/grabFrame)
|
|
19148
19180
|
*/
|
|
@@ -26313,7 +26345,7 @@ interface ReadableStreamBYOBReader extends ReadableStreamGenericReader {
|
|
|
26313
26345
|
*
|
|
26314
26346
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/ReadableStreamBYOBReader/read)
|
|
26315
26347
|
*/
|
|
26316
|
-
read<T extends
|
|
26348
|
+
read<T extends Exclude<BufferSource, ArrayBuffer>>(view: T, options?: ReadableStreamBYOBReaderReadOptions): Promise<ReadableStreamReadResult<T>>;
|
|
26317
26349
|
/**
|
|
26318
26350
|
* The **`releaseLock()`** method of the ReadableStreamBYOBReader interface releases the reader's lock on the stream.
|
|
26319
26351
|
*
|
|
@@ -29803,7 +29835,7 @@ interface SVGSVGElement extends SVGGraphicsElement, SVGFitToViewBox, WindowEvent
|
|
|
29803
29835
|
*/
|
|
29804
29836
|
createSVGPoint(): DOMPoint;
|
|
29805
29837
|
/**
|
|
29806
|
-
* The `createSVGRect()` method of the SVGSVGElement interface creates
|
|
29838
|
+
* The `createSVGRect()` method of the SVGSVGElement interface creates a DOMRect object outside of any document trees.
|
|
29807
29839
|
*
|
|
29808
29840
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGSVGElement/createSVGRect)
|
|
29809
29841
|
*/
|
|
@@ -31353,7 +31385,7 @@ interface SourceBuffer extends EventTarget {
|
|
|
31353
31385
|
*/
|
|
31354
31386
|
timestampOffset: number;
|
|
31355
31387
|
/**
|
|
31356
|
-
* The **`updating`** read-only property of the SourceBuffer interface indicates whether the `SourceBuffer` is currently being updated — i.e., whether an SourceBuffer.appendBuffer
|
|
31388
|
+
* The **`updating`** read-only property of the SourceBuffer interface indicates whether the `SourceBuffer` is currently being updated — i.e., whether an SourceBuffer.appendBuffer or SourceBuffer.remove operation is currently in progress.
|
|
31357
31389
|
*
|
|
31358
31390
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/SourceBuffer/updating)
|
|
31359
31391
|
*/
|
|
@@ -36830,7 +36862,7 @@ interface WebSocket extends EventTarget {
|
|
|
36830
36862
|
*
|
|
36831
36863
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebSocket/send)
|
|
36832
36864
|
*/
|
|
36833
|
-
send(data:
|
|
36865
|
+
send(data: BufferSource | Blob | string): void;
|
|
36834
36866
|
readonly CONNECTING: 0;
|
|
36835
36867
|
readonly OPEN: 1;
|
|
36836
36868
|
readonly CLOSING: 2;
|
package/ts5.9/index.d.ts
CHANGED
|
@@ -8512,7 +8512,7 @@ declare var CompressionStream: {
|
|
|
8512
8512
|
*/
|
|
8513
8513
|
interface ConstantSourceNode extends AudioScheduledSourceNode {
|
|
8514
8514
|
/**
|
|
8515
|
-
* The read-only `offset` property of the ConstantSourceNode interface returns
|
|
8515
|
+
* The read-only `offset` property of the ConstantSourceNode interface returns an AudioParam object indicating the numeric a-rate value which is always returned by the source when asked for the next sample.
|
|
8516
8516
|
*
|
|
8517
8517
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/ConstantSourceNode/offset)
|
|
8518
8518
|
*/
|
|
@@ -8785,7 +8785,7 @@ interface Crypto {
|
|
|
8785
8785
|
*
|
|
8786
8786
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Crypto/getRandomValues)
|
|
8787
8787
|
*/
|
|
8788
|
-
getRandomValues<T extends
|
|
8788
|
+
getRandomValues<T extends Exclude<BufferSource, ArrayBuffer>>(array: T): T;
|
|
8789
8789
|
/**
|
|
8790
8790
|
* The **`randomUUID()`** method of the Crypto interface is used to generate a v4 UUID using a cryptographically secure random number generator.
|
|
8791
8791
|
* Available only in secure contexts.
|
|
@@ -9168,11 +9168,23 @@ interface DOMMatrix extends DOMMatrixReadOnly {
|
|
|
9168
9168
|
declare var DOMMatrix: {
|
|
9169
9169
|
prototype: DOMMatrix;
|
|
9170
9170
|
new(init?: string | number[]): DOMMatrix;
|
|
9171
|
-
/**
|
|
9171
|
+
/**
|
|
9172
|
+
* The **`fromFloat32Array()`** static method of the DOMMatrix interface creates a new DOMMatrix object given an array of single-precision (32-bit) floating-point values.
|
|
9173
|
+
*
|
|
9174
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrix/fromFloat32Array_static)
|
|
9175
|
+
*/
|
|
9172
9176
|
fromFloat32Array(array32: Float32Array<ArrayBuffer>): DOMMatrix;
|
|
9173
|
-
/**
|
|
9177
|
+
/**
|
|
9178
|
+
* The **`fromFloat64Array()`** static method of the DOMMatrix interface creates a new DOMMatrix object given an array of double-precision (64-bit) floating-point values.
|
|
9179
|
+
*
|
|
9180
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrix/fromFloat64Array_static)
|
|
9181
|
+
*/
|
|
9174
9182
|
fromFloat64Array(array64: Float64Array<ArrayBuffer>): DOMMatrix;
|
|
9175
|
-
/**
|
|
9183
|
+
/**
|
|
9184
|
+
* The **`fromMatrix()`** static method of the DOMMatrix interface creates a new DOMMatrix object given an existing matrix or an object which provides the values for its properties.
|
|
9185
|
+
*
|
|
9186
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrix/fromMatrix_static)
|
|
9187
|
+
*/
|
|
9176
9188
|
fromMatrix(other?: DOMMatrixInit): DOMMatrix;
|
|
9177
9189
|
};
|
|
9178
9190
|
|
|
@@ -9348,11 +9360,23 @@ interface DOMMatrixReadOnly {
|
|
|
9348
9360
|
declare var DOMMatrixReadOnly: {
|
|
9349
9361
|
prototype: DOMMatrixReadOnly;
|
|
9350
9362
|
new(init?: string | number[]): DOMMatrixReadOnly;
|
|
9351
|
-
/**
|
|
9363
|
+
/**
|
|
9364
|
+
* The **`fromFloat32Array()`** static method of the DOMMatrixReadOnly interface creates a new DOMMatrixReadOnly object given an array of single-precision (32-bit) floating-point values.
|
|
9365
|
+
*
|
|
9366
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly/fromFloat32Array_static)
|
|
9367
|
+
*/
|
|
9352
9368
|
fromFloat32Array(array32: Float32Array<ArrayBuffer>): DOMMatrixReadOnly;
|
|
9353
|
-
/**
|
|
9369
|
+
/**
|
|
9370
|
+
* The **`fromFloat64Array()`** static method of the DOMMatrixReadOnly interface creates a new DOMMatrixReadOnly object given an array of double-precision (64-bit) floating-point values.
|
|
9371
|
+
*
|
|
9372
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly/fromFloat64Array_static)
|
|
9373
|
+
*/
|
|
9354
9374
|
fromFloat64Array(array64: Float64Array<ArrayBuffer>): DOMMatrixReadOnly;
|
|
9355
|
-
/**
|
|
9375
|
+
/**
|
|
9376
|
+
* The **`fromMatrix()`** static method of the DOMMatrixReadOnly interface creates a new DOMMatrixReadOnly object given an existing matrix or an object which provides the values for its properties.
|
|
9377
|
+
*
|
|
9378
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly/fromMatrix_static)
|
|
9379
|
+
*/
|
|
9356
9380
|
fromMatrix(other?: DOMMatrixInit): DOMMatrixReadOnly;
|
|
9357
9381
|
};
|
|
9358
9382
|
|
|
@@ -9523,9 +9547,17 @@ interface DOMQuad {
|
|
|
9523
9547
|
declare var DOMQuad: {
|
|
9524
9548
|
prototype: DOMQuad;
|
|
9525
9549
|
new(p1?: DOMPointInit, p2?: DOMPointInit, p3?: DOMPointInit, p4?: DOMPointInit): DOMQuad;
|
|
9526
|
-
/**
|
|
9550
|
+
/**
|
|
9551
|
+
* The **`fromQuad()`** static method of the DOMQuad interface returns a new `DOMQuad` object based on the provided set of coordinates in the shape of another `DOMQuad` object.
|
|
9552
|
+
*
|
|
9553
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMQuad/fromQuad_static)
|
|
9554
|
+
*/
|
|
9527
9555
|
fromQuad(other?: DOMQuadInit): DOMQuad;
|
|
9528
|
-
/**
|
|
9556
|
+
/**
|
|
9557
|
+
* The **`fromRect()`** static method of the DOMQuad interface returns a new `DOMQuad` object based on the provided set of coordinates in the shape of a DOMRect object.
|
|
9558
|
+
*
|
|
9559
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMQuad/fromRect_static)
|
|
9560
|
+
*/
|
|
9529
9561
|
fromRect(other?: DOMRectInit): DOMQuad;
|
|
9530
9562
|
};
|
|
9531
9563
|
|
|
@@ -19017,7 +19049,7 @@ declare var IDBVersionChangeEvent: {
|
|
|
19017
19049
|
};
|
|
19018
19050
|
|
|
19019
19051
|
/**
|
|
19020
|
-
* The **`IIRFilterNode`** interface of the Web Audio API is
|
|
19052
|
+
* The **`IIRFilterNode`** interface of the Web Audio API is an AudioNode processor which implements a general **infinite impulse response** (IIR) filter; this type of filter can be used to implement tone control devices and graphic equalizers as well.
|
|
19021
19053
|
*
|
|
19022
19054
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/IIRFilterNode)
|
|
19023
19055
|
*/
|
|
@@ -19142,7 +19174,7 @@ interface ImageCapture {
|
|
|
19142
19174
|
*/
|
|
19143
19175
|
getPhotoSettings(): Promise<PhotoSettings>;
|
|
19144
19176
|
/**
|
|
19145
|
-
* The **`grabFrame()`** method of the ImageCapture interface takes a snapshot of the live video in a MediaStreamTrack and returns a Promise that resolves with
|
|
19177
|
+
* The **`grabFrame()`** method of the ImageCapture interface takes a snapshot of the live video in a MediaStreamTrack and returns a Promise that resolves with an ImageBitmap containing the snapshot.
|
|
19146
19178
|
*
|
|
19147
19179
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/ImageCapture/grabFrame)
|
|
19148
19180
|
*/
|
|
@@ -26313,7 +26345,7 @@ interface ReadableStreamBYOBReader extends ReadableStreamGenericReader {
|
|
|
26313
26345
|
*
|
|
26314
26346
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/ReadableStreamBYOBReader/read)
|
|
26315
26347
|
*/
|
|
26316
|
-
read<T extends
|
|
26348
|
+
read<T extends Exclude<BufferSource, ArrayBuffer>>(view: T, options?: ReadableStreamBYOBReaderReadOptions): Promise<ReadableStreamReadResult<T>>;
|
|
26317
26349
|
/**
|
|
26318
26350
|
* The **`releaseLock()`** method of the ReadableStreamBYOBReader interface releases the reader's lock on the stream.
|
|
26319
26351
|
*
|
|
@@ -29803,7 +29835,7 @@ interface SVGSVGElement extends SVGGraphicsElement, SVGFitToViewBox, WindowEvent
|
|
|
29803
29835
|
*/
|
|
29804
29836
|
createSVGPoint(): DOMPoint;
|
|
29805
29837
|
/**
|
|
29806
|
-
* The `createSVGRect()` method of the SVGSVGElement interface creates
|
|
29838
|
+
* The `createSVGRect()` method of the SVGSVGElement interface creates a DOMRect object outside of any document trees.
|
|
29807
29839
|
*
|
|
29808
29840
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGSVGElement/createSVGRect)
|
|
29809
29841
|
*/
|
|
@@ -31353,7 +31385,7 @@ interface SourceBuffer extends EventTarget {
|
|
|
31353
31385
|
*/
|
|
31354
31386
|
timestampOffset: number;
|
|
31355
31387
|
/**
|
|
31356
|
-
* The **`updating`** read-only property of the SourceBuffer interface indicates whether the `SourceBuffer` is currently being updated — i.e., whether an SourceBuffer.appendBuffer
|
|
31388
|
+
* The **`updating`** read-only property of the SourceBuffer interface indicates whether the `SourceBuffer` is currently being updated — i.e., whether an SourceBuffer.appendBuffer or SourceBuffer.remove operation is currently in progress.
|
|
31357
31389
|
*
|
|
31358
31390
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/SourceBuffer/updating)
|
|
31359
31391
|
*/
|
|
@@ -36830,7 +36862,7 @@ interface WebSocket extends EventTarget {
|
|
|
36830
36862
|
*
|
|
36831
36863
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebSocket/send)
|
|
36832
36864
|
*/
|
|
36833
|
-
send(data:
|
|
36865
|
+
send(data: BufferSource | Blob | string): void;
|
|
36834
36866
|
readonly CONNECTING: 0;
|
|
36835
36867
|
readonly OPEN: 1;
|
|
36836
36868
|
readonly CLOSING: 2;
|