@types/web 0.0.193 → 0.0.195
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 +17 -1
- package/iterable.d.ts +1 -1
- package/package.json +1 -1
- package/ts5.5/index.d.ts +17 -1
- package/ts5.5/iterable.d.ts +1 -1
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.195 at https://github.com/microsoft/TypeScript-DOM-lib-generator/releases/tag/%40types%2Fweb%400.0.195.
|
package/index.d.ts
CHANGED
|
@@ -6638,7 +6638,9 @@ interface DOMMatrix extends DOMMatrixReadOnly {
|
|
|
6638
6638
|
m44: number;
|
|
6639
6639
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrix/invertSelf) */
|
|
6640
6640
|
invertSelf(): DOMMatrix;
|
|
6641
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrix/multiplySelf) */
|
|
6641
6642
|
multiplySelf(other?: DOMMatrixInit): DOMMatrix;
|
|
6643
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrix/preMultiplySelf) */
|
|
6642
6644
|
preMultiplySelf(other?: DOMMatrixInit): DOMMatrix;
|
|
6643
6645
|
rotateAxisAngleSelf(x?: number, y?: number, z?: number, angle?: number): DOMMatrix;
|
|
6644
6646
|
rotateFromVectorSelf(x?: number, y?: number): DOMMatrix;
|
|
@@ -6724,6 +6726,7 @@ interface DOMMatrixReadOnly {
|
|
|
6724
6726
|
flipY(): DOMMatrix;
|
|
6725
6727
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly/inverse) */
|
|
6726
6728
|
inverse(): DOMMatrix;
|
|
6729
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly/multiply) */
|
|
6727
6730
|
multiply(other?: DOMMatrixInit): DOMMatrix;
|
|
6728
6731
|
rotate(rotX?: number, rotY?: number, rotZ?: number): DOMMatrix;
|
|
6729
6732
|
rotateAxisAngle(x?: number, y?: number, z?: number, angle?: number): DOMMatrix;
|
|
@@ -20249,12 +20252,19 @@ declare var SVGClipPathElement: {
|
|
|
20249
20252
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGComponentTransferFunctionElement)
|
|
20250
20253
|
*/
|
|
20251
20254
|
interface SVGComponentTransferFunctionElement extends SVGElement {
|
|
20255
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGComponentTransferFunctionElement/amplitude) */
|
|
20252
20256
|
readonly amplitude: SVGAnimatedNumber;
|
|
20257
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGComponentTransferFunctionElement/exponent) */
|
|
20253
20258
|
readonly exponent: SVGAnimatedNumber;
|
|
20259
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGComponentTransferFunctionElement/intercept) */
|
|
20254
20260
|
readonly intercept: SVGAnimatedNumber;
|
|
20261
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGComponentTransferFunctionElement/offset) */
|
|
20255
20262
|
readonly offset: SVGAnimatedNumber;
|
|
20263
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGComponentTransferFunctionElement/slope) */
|
|
20256
20264
|
readonly slope: SVGAnimatedNumber;
|
|
20265
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGComponentTransferFunctionElement/tableValues) */
|
|
20257
20266
|
readonly tableValues: SVGAnimatedNumberList;
|
|
20267
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGComponentTransferFunctionElement/type) */
|
|
20258
20268
|
readonly type: SVGAnimatedEnumeration;
|
|
20259
20269
|
readonly SVG_FECOMPONENTTRANSFER_TYPE_UNKNOWN: 0;
|
|
20260
20270
|
readonly SVG_FECOMPONENTTRANSFER_TYPE_IDENTITY: 1;
|
|
@@ -21619,11 +21629,17 @@ declare var SVGRadialGradientElement: {
|
|
|
21619
21629
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGRectElement)
|
|
21620
21630
|
*/
|
|
21621
21631
|
interface SVGRectElement extends SVGGeometryElement {
|
|
21632
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGRectElement/height) */
|
|
21622
21633
|
readonly height: SVGAnimatedLength;
|
|
21634
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGRectElement/rx) */
|
|
21623
21635
|
readonly rx: SVGAnimatedLength;
|
|
21636
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGRectElement/ry) */
|
|
21624
21637
|
readonly ry: SVGAnimatedLength;
|
|
21638
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGRectElement/width) */
|
|
21625
21639
|
readonly width: SVGAnimatedLength;
|
|
21640
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGRectElement/x) */
|
|
21626
21641
|
readonly x: SVGAnimatedLength;
|
|
21642
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGRectElement/y) */
|
|
21627
21643
|
readonly y: SVGAnimatedLength;
|
|
21628
21644
|
addEventListener<K extends keyof SVGElementEventMap>(type: K, listener: (this: SVGRectElement, ev: SVGElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
21629
21645
|
addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
|
|
@@ -23036,7 +23052,7 @@ interface SubtleCrypto {
|
|
|
23036
23052
|
exportKey(format: Exclude<KeyFormat, "jwk">, key: CryptoKey): Promise<ArrayBuffer>;
|
|
23037
23053
|
exportKey(format: KeyFormat, key: CryptoKey): Promise<ArrayBuffer | JsonWebKey>;
|
|
23038
23054
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/SubtleCrypto/generateKey) */
|
|
23039
|
-
generateKey(algorithm: "Ed25519", extractable: boolean, keyUsages: ReadonlyArray<"sign" | "verify">): Promise<CryptoKeyPair>;
|
|
23055
|
+
generateKey(algorithm: "Ed25519" | { name: "Ed25519" }, extractable: boolean, keyUsages: ReadonlyArray<"sign" | "verify">): Promise<CryptoKeyPair>;
|
|
23040
23056
|
generateKey(algorithm: RsaHashedKeyGenParams | EcKeyGenParams, extractable: boolean, keyUsages: ReadonlyArray<KeyUsage>): Promise<CryptoKeyPair>;
|
|
23041
23057
|
generateKey(algorithm: AesKeyGenParams | HmacKeyGenParams | Pbkdf2Params, extractable: boolean, keyUsages: ReadonlyArray<KeyUsage>): Promise<CryptoKey>;
|
|
23042
23058
|
generateKey(algorithm: AlgorithmIdentifier, extractable: boolean, keyUsages: KeyUsage[]): Promise<CryptoKeyPair | CryptoKey>;
|
package/iterable.d.ts
CHANGED
|
@@ -312,7 +312,7 @@ interface SubtleCrypto {
|
|
|
312
312
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/SubtleCrypto/deriveKey) */
|
|
313
313
|
deriveKey(algorithm: AlgorithmIdentifier | EcdhKeyDeriveParams | HkdfParams | Pbkdf2Params, baseKey: CryptoKey, derivedKeyType: AlgorithmIdentifier | AesDerivedKeyParams | HmacImportParams | HkdfParams | Pbkdf2Params, extractable: boolean, keyUsages: Iterable<KeyUsage>): Promise<CryptoKey>;
|
|
314
314
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/SubtleCrypto/generateKey) */
|
|
315
|
-
generateKey(algorithm: "Ed25519", extractable: boolean, keyUsages: ReadonlyArray<"sign" | "verify">): Promise<CryptoKeyPair>;
|
|
315
|
+
generateKey(algorithm: "Ed25519" | { name: "Ed25519" }, extractable: boolean, keyUsages: ReadonlyArray<"sign" | "verify">): Promise<CryptoKeyPair>;
|
|
316
316
|
generateKey(algorithm: RsaHashedKeyGenParams | EcKeyGenParams, extractable: boolean, keyUsages: ReadonlyArray<KeyUsage>): Promise<CryptoKeyPair>;
|
|
317
317
|
generateKey(algorithm: AesKeyGenParams | HmacKeyGenParams | Pbkdf2Params, extractable: boolean, keyUsages: ReadonlyArray<KeyUsage>): Promise<CryptoKey>;
|
|
318
318
|
generateKey(algorithm: AlgorithmIdentifier, extractable: boolean, keyUsages: Iterable<KeyUsage>): Promise<CryptoKeyPair | CryptoKey>;
|
package/package.json
CHANGED
package/ts5.5/index.d.ts
CHANGED
|
@@ -6631,7 +6631,9 @@ interface DOMMatrix extends DOMMatrixReadOnly {
|
|
|
6631
6631
|
m44: number;
|
|
6632
6632
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrix/invertSelf) */
|
|
6633
6633
|
invertSelf(): DOMMatrix;
|
|
6634
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrix/multiplySelf) */
|
|
6634
6635
|
multiplySelf(other?: DOMMatrixInit): DOMMatrix;
|
|
6636
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrix/preMultiplySelf) */
|
|
6635
6637
|
preMultiplySelf(other?: DOMMatrixInit): DOMMatrix;
|
|
6636
6638
|
rotateAxisAngleSelf(x?: number, y?: number, z?: number, angle?: number): DOMMatrix;
|
|
6637
6639
|
rotateFromVectorSelf(x?: number, y?: number): DOMMatrix;
|
|
@@ -6717,6 +6719,7 @@ interface DOMMatrixReadOnly {
|
|
|
6717
6719
|
flipY(): DOMMatrix;
|
|
6718
6720
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly/inverse) */
|
|
6719
6721
|
inverse(): DOMMatrix;
|
|
6722
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly/multiply) */
|
|
6720
6723
|
multiply(other?: DOMMatrixInit): DOMMatrix;
|
|
6721
6724
|
rotate(rotX?: number, rotY?: number, rotZ?: number): DOMMatrix;
|
|
6722
6725
|
rotateAxisAngle(x?: number, y?: number, z?: number, angle?: number): DOMMatrix;
|
|
@@ -20228,12 +20231,19 @@ declare var SVGClipPathElement: {
|
|
|
20228
20231
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGComponentTransferFunctionElement)
|
|
20229
20232
|
*/
|
|
20230
20233
|
interface SVGComponentTransferFunctionElement extends SVGElement {
|
|
20234
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGComponentTransferFunctionElement/amplitude) */
|
|
20231
20235
|
readonly amplitude: SVGAnimatedNumber;
|
|
20236
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGComponentTransferFunctionElement/exponent) */
|
|
20232
20237
|
readonly exponent: SVGAnimatedNumber;
|
|
20238
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGComponentTransferFunctionElement/intercept) */
|
|
20233
20239
|
readonly intercept: SVGAnimatedNumber;
|
|
20240
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGComponentTransferFunctionElement/offset) */
|
|
20234
20241
|
readonly offset: SVGAnimatedNumber;
|
|
20242
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGComponentTransferFunctionElement/slope) */
|
|
20235
20243
|
readonly slope: SVGAnimatedNumber;
|
|
20244
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGComponentTransferFunctionElement/tableValues) */
|
|
20236
20245
|
readonly tableValues: SVGAnimatedNumberList;
|
|
20246
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGComponentTransferFunctionElement/type) */
|
|
20237
20247
|
readonly type: SVGAnimatedEnumeration;
|
|
20238
20248
|
readonly SVG_FECOMPONENTTRANSFER_TYPE_UNKNOWN: 0;
|
|
20239
20249
|
readonly SVG_FECOMPONENTTRANSFER_TYPE_IDENTITY: 1;
|
|
@@ -21598,11 +21608,17 @@ declare var SVGRadialGradientElement: {
|
|
|
21598
21608
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGRectElement)
|
|
21599
21609
|
*/
|
|
21600
21610
|
interface SVGRectElement extends SVGGeometryElement {
|
|
21611
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGRectElement/height) */
|
|
21601
21612
|
readonly height: SVGAnimatedLength;
|
|
21613
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGRectElement/rx) */
|
|
21602
21614
|
readonly rx: SVGAnimatedLength;
|
|
21615
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGRectElement/ry) */
|
|
21603
21616
|
readonly ry: SVGAnimatedLength;
|
|
21617
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGRectElement/width) */
|
|
21604
21618
|
readonly width: SVGAnimatedLength;
|
|
21619
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGRectElement/x) */
|
|
21605
21620
|
readonly x: SVGAnimatedLength;
|
|
21621
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGRectElement/y) */
|
|
21606
21622
|
readonly y: SVGAnimatedLength;
|
|
21607
21623
|
addEventListener<K extends keyof SVGElementEventMap>(type: K, listener: (this: SVGRectElement, ev: SVGElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
21608
21624
|
addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
|
|
@@ -23014,7 +23030,7 @@ interface SubtleCrypto {
|
|
|
23014
23030
|
exportKey(format: Exclude<KeyFormat, "jwk">, key: CryptoKey): Promise<ArrayBuffer>;
|
|
23015
23031
|
exportKey(format: KeyFormat, key: CryptoKey): Promise<ArrayBuffer | JsonWebKey>;
|
|
23016
23032
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/SubtleCrypto/generateKey) */
|
|
23017
|
-
generateKey(algorithm: "Ed25519", extractable: boolean, keyUsages: ReadonlyArray<"sign" | "verify">): Promise<CryptoKeyPair>;
|
|
23033
|
+
generateKey(algorithm: "Ed25519" | { name: "Ed25519" }, extractable: boolean, keyUsages: ReadonlyArray<"sign" | "verify">): Promise<CryptoKeyPair>;
|
|
23018
23034
|
generateKey(algorithm: RsaHashedKeyGenParams | EcKeyGenParams, extractable: boolean, keyUsages: ReadonlyArray<KeyUsage>): Promise<CryptoKeyPair>;
|
|
23019
23035
|
generateKey(algorithm: AesKeyGenParams | HmacKeyGenParams | Pbkdf2Params, extractable: boolean, keyUsages: ReadonlyArray<KeyUsage>): Promise<CryptoKey>;
|
|
23020
23036
|
generateKey(algorithm: AlgorithmIdentifier, extractable: boolean, keyUsages: KeyUsage[]): Promise<CryptoKeyPair | CryptoKey>;
|
package/ts5.5/iterable.d.ts
CHANGED
|
@@ -296,7 +296,7 @@ interface SubtleCrypto {
|
|
|
296
296
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/SubtleCrypto/deriveKey) */
|
|
297
297
|
deriveKey(algorithm: AlgorithmIdentifier | EcdhKeyDeriveParams | HkdfParams | Pbkdf2Params, baseKey: CryptoKey, derivedKeyType: AlgorithmIdentifier | AesDerivedKeyParams | HmacImportParams | HkdfParams | Pbkdf2Params, extractable: boolean, keyUsages: Iterable<KeyUsage>): Promise<CryptoKey>;
|
|
298
298
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/SubtleCrypto/generateKey) */
|
|
299
|
-
generateKey(algorithm: "Ed25519", extractable: boolean, keyUsages: ReadonlyArray<"sign" | "verify">): Promise<CryptoKeyPair>;
|
|
299
|
+
generateKey(algorithm: "Ed25519" | { name: "Ed25519" }, extractable: boolean, keyUsages: ReadonlyArray<"sign" | "verify">): Promise<CryptoKeyPair>;
|
|
300
300
|
generateKey(algorithm: RsaHashedKeyGenParams | EcKeyGenParams, extractable: boolean, keyUsages: ReadonlyArray<KeyUsage>): Promise<CryptoKeyPair>;
|
|
301
301
|
generateKey(algorithm: AesKeyGenParams | HmacKeyGenParams | Pbkdf2Params, extractable: boolean, keyUsages: ReadonlyArray<KeyUsage>): Promise<CryptoKey>;
|
|
302
302
|
generateKey(algorithm: AlgorithmIdentifier, extractable: boolean, keyUsages: Iterable<KeyUsage>): Promise<CryptoKeyPair | CryptoKey>;
|