@types/web 0.0.192 → 0.0.194
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 +50 -13
- package/iterable.d.ts +2 -2
- package/package.json +1 -1
- package/ts5.5/index.d.ts +50 -13
- package/ts5.5/iterable.d.ts +2 -2
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.194 at https://github.com/microsoft/TypeScript-DOM-lib-generator/releases/tag/%40types%2Fweb%400.0.194.
|
package/index.d.ts
CHANGED
|
@@ -4246,6 +4246,7 @@ interface CSSStyleDeclaration {
|
|
|
4246
4246
|
alignItems: string;
|
|
4247
4247
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/align-self) */
|
|
4248
4248
|
alignSelf: string;
|
|
4249
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/alignment-baseline) */
|
|
4249
4250
|
alignmentBaseline: string;
|
|
4250
4251
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/all) */
|
|
4251
4252
|
all: string;
|
|
@@ -6719,6 +6720,7 @@ interface DOMMatrixReadOnly {
|
|
|
6719
6720
|
readonly m44: number;
|
|
6720
6721
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly/flipX) */
|
|
6721
6722
|
flipX(): DOMMatrix;
|
|
6723
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly/flipY) */
|
|
6722
6724
|
flipY(): DOMMatrix;
|
|
6723
6725
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly/inverse) */
|
|
6724
6726
|
inverse(): DOMMatrix;
|
|
@@ -9633,7 +9635,7 @@ interface GlobalEventHandlers {
|
|
|
9633
9635
|
onclick: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
|
|
9634
9636
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLDialogElement/close_event) */
|
|
9635
9637
|
onclose: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
9636
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLCanvasElement/
|
|
9638
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLCanvasElement/contextlost_event) */
|
|
9637
9639
|
oncontextlost: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
9638
9640
|
/**
|
|
9639
9641
|
* Fires when the user clicks the right mouse button in the client area, opening the context menu.
|
|
@@ -10553,7 +10555,7 @@ declare var HTMLDataListElement: {
|
|
|
10553
10555
|
|
|
10554
10556
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLDetailsElement) */
|
|
10555
10557
|
interface HTMLDetailsElement extends HTMLElement {
|
|
10556
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLDetailsElement/
|
|
10558
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLDetailsElement/name) */
|
|
10557
10559
|
name: string;
|
|
10558
10560
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLDetailsElement/open) */
|
|
10559
10561
|
open: boolean;
|
|
@@ -12204,7 +12206,11 @@ interface HTMLMediaElement extends HTMLElement {
|
|
|
12204
12206
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLMediaElement/playbackRate)
|
|
12205
12207
|
*/
|
|
12206
12208
|
playbackRate: number;
|
|
12207
|
-
/**
|
|
12209
|
+
/**
|
|
12210
|
+
* Gets TimeRanges for the current media resource that has been played.
|
|
12211
|
+
*
|
|
12212
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLMediaElement/played)
|
|
12213
|
+
*/
|
|
12208
12214
|
readonly played: TimeRanges;
|
|
12209
12215
|
/**
|
|
12210
12216
|
* Gets or sets a value indicating what data should be preloaded, if any.
|
|
@@ -12224,7 +12230,11 @@ interface HTMLMediaElement extends HTMLElement {
|
|
|
12224
12230
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLMediaElement/seekable)
|
|
12225
12231
|
*/
|
|
12226
12232
|
readonly seekable: TimeRanges;
|
|
12227
|
-
/**
|
|
12233
|
+
/**
|
|
12234
|
+
* Gets a flag that indicates whether the client is currently moving to a new playback position in the media resource.
|
|
12235
|
+
*
|
|
12236
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLMediaElement/seeking)
|
|
12237
|
+
*/
|
|
12228
12238
|
readonly seeking: boolean;
|
|
12229
12239
|
/**
|
|
12230
12240
|
* Available only in secure contexts.
|
|
@@ -18618,6 +18628,7 @@ declare var PointerEvent: {
|
|
|
18618
18628
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/PopStateEvent)
|
|
18619
18629
|
*/
|
|
18620
18630
|
interface PopStateEvent extends Event {
|
|
18631
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/PopStateEvent/hasUAVisualTransition) */
|
|
18621
18632
|
readonly hasUAVisualTransition: boolean;
|
|
18622
18633
|
/**
|
|
18623
18634
|
* Returns a copy of the information that was provided to pushState() or replaceState().
|
|
@@ -18709,6 +18720,7 @@ interface PublicKeyCredential extends Credential {
|
|
|
18709
18720
|
declare var PublicKeyCredential: {
|
|
18710
18721
|
prototype: PublicKeyCredential;
|
|
18711
18722
|
new(): PublicKeyCredential;
|
|
18723
|
+
getClientCapabilities(): Promise<PublicKeyCredentialClientCapabilities>;
|
|
18712
18724
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/PublicKeyCredential/isConditionalMediationAvailable_static) */
|
|
18713
18725
|
isConditionalMediationAvailable(): Promise<boolean>;
|
|
18714
18726
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/PublicKeyCredential/isUserVerifyingPlatformAuthenticatorAvailable_static) */
|
|
@@ -19882,11 +19894,17 @@ declare var SVGAElement: {
|
|
|
19882
19894
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGAngle)
|
|
19883
19895
|
*/
|
|
19884
19896
|
interface SVGAngle {
|
|
19897
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGAngle/unitType) */
|
|
19885
19898
|
readonly unitType: number;
|
|
19899
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGAngle/value) */
|
|
19886
19900
|
value: number;
|
|
19901
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGAngle/valueAsString) */
|
|
19887
19902
|
valueAsString: string;
|
|
19903
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGAngle/valueInSpecifiedUnits) */
|
|
19888
19904
|
valueInSpecifiedUnits: number;
|
|
19905
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGAngle/convertToSpecifiedUnits) */
|
|
19889
19906
|
convertToSpecifiedUnits(unitType: number): void;
|
|
19907
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGAngle/newValueSpecifiedUnits) */
|
|
19890
19908
|
newValueSpecifiedUnits(unitType: number, valueInSpecifiedUnits: number): void;
|
|
19891
19909
|
readonly SVG_ANGLETYPE_UNKNOWN: 0;
|
|
19892
19910
|
readonly SVG_ANGLETYPE_UNSPECIFIED: 1;
|
|
@@ -20001,7 +20019,9 @@ declare var SVGAnimatedEnumeration: {
|
|
|
20001
20019
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGAnimatedInteger)
|
|
20002
20020
|
*/
|
|
20003
20021
|
interface SVGAnimatedInteger {
|
|
20022
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGAnimatedInteger/animVal) */
|
|
20004
20023
|
readonly animVal: number;
|
|
20024
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGAnimatedInteger/baseVal) */
|
|
20005
20025
|
baseVal: number;
|
|
20006
20026
|
}
|
|
20007
20027
|
|
|
@@ -20091,7 +20111,9 @@ interface SVGAnimatedPoints {
|
|
|
20091
20111
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGAnimatedPreserveAspectRatio)
|
|
20092
20112
|
*/
|
|
20093
20113
|
interface SVGAnimatedPreserveAspectRatio {
|
|
20114
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGAnimatedPreserveAspectRatio/animVal) */
|
|
20094
20115
|
readonly animVal: SVGPreserveAspectRatio;
|
|
20116
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGAnimatedPreserveAspectRatio/baseVal) */
|
|
20095
20117
|
readonly baseVal: SVGPreserveAspectRatio;
|
|
20096
20118
|
}
|
|
20097
20119
|
|
|
@@ -20524,10 +20546,15 @@ declare var SVGFEConvolveMatrixElement: {
|
|
|
20524
20546
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGFEDiffuseLightingElement)
|
|
20525
20547
|
*/
|
|
20526
20548
|
interface SVGFEDiffuseLightingElement extends SVGElement, SVGFilterPrimitiveStandardAttributes {
|
|
20549
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGFEDiffuseLightingElement/diffuseConstant) */
|
|
20527
20550
|
readonly diffuseConstant: SVGAnimatedNumber;
|
|
20551
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGFEDiffuseLightingElement/in1) */
|
|
20528
20552
|
readonly in1: SVGAnimatedString;
|
|
20553
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGFEDiffuseLightingElement/kernelUnitLengthX) */
|
|
20529
20554
|
readonly kernelUnitLengthX: SVGAnimatedNumber;
|
|
20555
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGFEDiffuseLightingElement/kernelUnitLengthY) */
|
|
20530
20556
|
readonly kernelUnitLengthY: SVGAnimatedNumber;
|
|
20557
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGFEDiffuseLightingElement/surfaceScale) */
|
|
20531
20558
|
readonly surfaceScale: SVGAnimatedNumber;
|
|
20532
20559
|
addEventListener<K extends keyof SVGElementEventMap>(type: K, listener: (this: SVGFEDiffuseLightingElement, ev: SVGElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
20533
20560
|
addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
|
|
@@ -20763,6 +20790,7 @@ declare var SVGFEMergeElement: {
|
|
|
20763
20790
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGFEMergeNodeElement)
|
|
20764
20791
|
*/
|
|
20765
20792
|
interface SVGFEMergeNodeElement extends SVGElement {
|
|
20793
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGFEMergeNodeElement/in1) */
|
|
20766
20794
|
readonly in1: SVGAnimatedString;
|
|
20767
20795
|
addEventListener<K extends keyof SVGElementEventMap>(type: K, listener: (this: SVGFEMergeNodeElement, ev: SVGElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
20768
20796
|
addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
|
|
@@ -20781,9 +20809,13 @@ declare var SVGFEMergeNodeElement: {
|
|
|
20781
20809
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGFEMorphologyElement)
|
|
20782
20810
|
*/
|
|
20783
20811
|
interface SVGFEMorphologyElement extends SVGElement, SVGFilterPrimitiveStandardAttributes {
|
|
20812
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGFEMorphologyElement/in1) */
|
|
20784
20813
|
readonly in1: SVGAnimatedString;
|
|
20814
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGFEMorphologyElement/operator) */
|
|
20785
20815
|
readonly operator: SVGAnimatedEnumeration;
|
|
20816
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGFEMorphologyElement/radiusX) */
|
|
20786
20817
|
readonly radiusX: SVGAnimatedNumber;
|
|
20818
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGFEMorphologyElement/radiusY) */
|
|
20787
20819
|
readonly radiusY: SVGAnimatedNumber;
|
|
20788
20820
|
readonly SVG_MORPHOLOGY_OPERATOR_UNKNOWN: 0;
|
|
20789
20821
|
readonly SVG_MORPHOLOGY_OPERATOR_ERODE: 1;
|
|
@@ -21212,9 +21244,13 @@ declare var SVGLengthList: {
|
|
|
21212
21244
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGLineElement)
|
|
21213
21245
|
*/
|
|
21214
21246
|
interface SVGLineElement extends SVGGeometryElement {
|
|
21247
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGLineElement/x1) */
|
|
21215
21248
|
readonly x1: SVGAnimatedLength;
|
|
21249
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGLineElement/x2) */
|
|
21216
21250
|
readonly x2: SVGAnimatedLength;
|
|
21251
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGLineElement/y1) */
|
|
21217
21252
|
readonly y1: SVGAnimatedLength;
|
|
21253
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGLineElement/y2) */
|
|
21218
21254
|
readonly y2: SVGAnimatedLength;
|
|
21219
21255
|
addEventListener<K extends keyof SVGElementEventMap>(type: K, listener: (this: SVGLineElement, ev: SVGElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
21220
21256
|
addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
|
|
@@ -22249,7 +22285,7 @@ interface Selection {
|
|
|
22249
22285
|
containsNode(node: Node, allowPartialContainment?: boolean): boolean;
|
|
22250
22286
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Selection/deleteFromDocument) */
|
|
22251
22287
|
deleteFromDocument(): void;
|
|
22252
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Selection/
|
|
22288
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Selection/empty) */
|
|
22253
22289
|
empty(): void;
|
|
22254
22290
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Selection/extend) */
|
|
22255
22291
|
extend(node: Node, offset?: number): void;
|
|
@@ -22265,7 +22301,7 @@ interface Selection {
|
|
|
22265
22301
|
selectAllChildren(node: Node): void;
|
|
22266
22302
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Selection/setBaseAndExtent) */
|
|
22267
22303
|
setBaseAndExtent(anchorNode: Node, anchorOffset: number, focusNode: Node, focusOffset: number): void;
|
|
22268
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Selection/
|
|
22304
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Selection/setPosition) */
|
|
22269
22305
|
setPosition(node: Node | null, offset?: number): void;
|
|
22270
22306
|
toString(): string;
|
|
22271
22307
|
}
|
|
@@ -23000,7 +23036,7 @@ interface SubtleCrypto {
|
|
|
23000
23036
|
exportKey(format: Exclude<KeyFormat, "jwk">, key: CryptoKey): Promise<ArrayBuffer>;
|
|
23001
23037
|
exportKey(format: KeyFormat, key: CryptoKey): Promise<ArrayBuffer | JsonWebKey>;
|
|
23002
23038
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/SubtleCrypto/generateKey) */
|
|
23003
|
-
generateKey(algorithm: "Ed25519", extractable: boolean, keyUsages: ReadonlyArray<"sign" | "verify">): Promise<CryptoKeyPair>;
|
|
23039
|
+
generateKey(algorithm: "Ed25519" | { name: "Ed25519" }, extractable: boolean, keyUsages: ReadonlyArray<"sign" | "verify">): Promise<CryptoKeyPair>;
|
|
23004
23040
|
generateKey(algorithm: RsaHashedKeyGenParams | EcKeyGenParams, extractable: boolean, keyUsages: ReadonlyArray<KeyUsage>): Promise<CryptoKeyPair>;
|
|
23005
23041
|
generateKey(algorithm: AesKeyGenParams | HmacKeyGenParams | Pbkdf2Params, extractable: boolean, keyUsages: ReadonlyArray<KeyUsage>): Promise<CryptoKey>;
|
|
23006
23042
|
generateKey(algorithm: AlgorithmIdentifier, extractable: boolean, keyUsages: KeyUsage[]): Promise<CryptoKeyPair | CryptoKey>;
|
|
@@ -24988,7 +25024,7 @@ interface WebGL2RenderingContextBase {
|
|
|
24988
25024
|
clearBufferuiv(buffer: GLenum, drawbuffer: GLint, values: Uint32List, srcOffset?: number): void;
|
|
24989
25025
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGL2RenderingContext/clientWaitSync) */
|
|
24990
25026
|
clientWaitSync(sync: WebGLSync, flags: GLbitfield, timeout: GLuint64): GLenum;
|
|
24991
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/
|
|
25027
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGL2RenderingContext/compressedTexImage3D) */
|
|
24992
25028
|
compressedTexImage3D(target: GLenum, level: GLint, internalformat: GLenum, width: GLsizei, height: GLsizei, depth: GLsizei, border: GLint, imageSize: GLsizei, offset: GLintptr): void;
|
|
24993
25029
|
compressedTexImage3D(target: GLenum, level: GLint, internalformat: GLenum, width: GLsizei, height: GLsizei, depth: GLsizei, border: GLint, srcData: ArrayBufferView, srcOffset?: number, srcLengthOverride?: GLuint): void;
|
|
24994
25030
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGL2RenderingContext/compressedTexSubImage3D) */
|
|
@@ -25410,11 +25446,11 @@ interface WebGL2RenderingContextBase {
|
|
|
25410
25446
|
}
|
|
25411
25447
|
|
|
25412
25448
|
interface WebGL2RenderingContextOverloads {
|
|
25413
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/
|
|
25449
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGL2RenderingContext/bufferData) */
|
|
25414
25450
|
bufferData(target: GLenum, size: GLsizeiptr, usage: GLenum): void;
|
|
25415
25451
|
bufferData(target: GLenum, srcData: AllowSharedBufferSource | null, usage: GLenum): void;
|
|
25416
25452
|
bufferData(target: GLenum, srcData: ArrayBufferView, usage: GLenum, srcOffset: number, length?: GLuint): void;
|
|
25417
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/
|
|
25453
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGL2RenderingContext/bufferSubData) */
|
|
25418
25454
|
bufferSubData(target: GLenum, dstByteOffset: GLintptr, srcData: AllowSharedBufferSource): void;
|
|
25419
25455
|
bufferSubData(target: GLenum, dstByteOffset: GLintptr, srcData: ArrayBufferView, srcOffset: number, length?: GLuint): void;
|
|
25420
25456
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/compressedTexImage2D) */
|
|
@@ -25455,7 +25491,7 @@ interface WebGL2RenderingContextOverloads {
|
|
|
25455
25491
|
uniform4fv(location: WebGLUniformLocation | null, data: Float32List, srcOffset?: number, srcLength?: GLuint): void;
|
|
25456
25492
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/uniform) */
|
|
25457
25493
|
uniform4iv(location: WebGLUniformLocation | null, data: Int32List, srcOffset?: number, srcLength?: GLuint): void;
|
|
25458
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/
|
|
25494
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGL2RenderingContext/uniformMatrix) */
|
|
25459
25495
|
uniformMatrix2fv(location: WebGLUniformLocation | null, transpose: GLboolean, data: Float32List, srcOffset?: number, srcLength?: GLuint): void;
|
|
25460
25496
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/uniformMatrix) */
|
|
25461
25497
|
uniformMatrix3fv(location: WebGLUniformLocation | null, transpose: GLboolean, data: Float32List, srcOffset?: number, srcLength?: GLuint): void;
|
|
@@ -25871,7 +25907,7 @@ declare var WebGLRenderingContext: {
|
|
|
25871
25907
|
interface WebGLRenderingContextBase {
|
|
25872
25908
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/canvas) */
|
|
25873
25909
|
readonly canvas: HTMLCanvasElement | OffscreenCanvas;
|
|
25874
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/
|
|
25910
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGL2RenderingContext/drawingBufferColorSpace) */
|
|
25875
25911
|
drawingBufferColorSpace: PredefinedColorSpace;
|
|
25876
25912
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/drawingBufferHeight) */
|
|
25877
25913
|
readonly drawingBufferHeight: GLsizei;
|
|
@@ -28771,7 +28807,7 @@ declare var onchange: ((this: Window, ev: Event) => any) | null;
|
|
|
28771
28807
|
declare var onclick: ((this: Window, ev: MouseEvent) => any) | null;
|
|
28772
28808
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLDialogElement/close_event) */
|
|
28773
28809
|
declare var onclose: ((this: Window, ev: Event) => any) | null;
|
|
28774
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLCanvasElement/
|
|
28810
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLCanvasElement/contextlost_event) */
|
|
28775
28811
|
declare var oncontextlost: ((this: Window, ev: Event) => any) | null;
|
|
28776
28812
|
/**
|
|
28777
28813
|
* Fires when the user clicks the right mouse button in the client area, opening the context menu.
|
|
@@ -29306,6 +29342,7 @@ type OnErrorEventHandler = OnErrorEventHandlerNonNull | null;
|
|
|
29306
29342
|
type OptionalPostfixToken<T extends string> = ` ${T}` | "";
|
|
29307
29343
|
type OptionalPrefixToken<T extends string> = `${T} ` | "";
|
|
29308
29344
|
type PerformanceEntryList = PerformanceEntry[];
|
|
29345
|
+
type PublicKeyCredentialClientCapabilities = Record<string, boolean>;
|
|
29309
29346
|
type PublicKeyCredentialJSON = any;
|
|
29310
29347
|
type RTCRtpTransform = RTCRtpScriptTransform;
|
|
29311
29348
|
type ReadableStreamController<T> = ReadableStreamDefaultController<T> | ReadableByteStreamController;
|
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>;
|
|
@@ -430,7 +430,7 @@ interface WebGL2RenderingContextOverloads {
|
|
|
430
430
|
uniform4fv(location: WebGLUniformLocation | null, data: Iterable<GLfloat>, srcOffset?: number, srcLength?: GLuint): void;
|
|
431
431
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/uniform) */
|
|
432
432
|
uniform4iv(location: WebGLUniformLocation | null, data: Iterable<GLint>, srcOffset?: number, srcLength?: GLuint): void;
|
|
433
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/
|
|
433
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGL2RenderingContext/uniformMatrix) */
|
|
434
434
|
uniformMatrix2fv(location: WebGLUniformLocation | null, transpose: GLboolean, data: Iterable<GLfloat>, srcOffset?: number, srcLength?: GLuint): void;
|
|
435
435
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/uniformMatrix) */
|
|
436
436
|
uniformMatrix3fv(location: WebGLUniformLocation | null, transpose: GLboolean, data: Iterable<GLfloat>, srcOffset?: number, srcLength?: GLuint): void;
|
package/package.json
CHANGED
package/ts5.5/index.d.ts
CHANGED
|
@@ -4240,6 +4240,7 @@ interface CSSStyleDeclaration {
|
|
|
4240
4240
|
alignItems: string;
|
|
4241
4241
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/align-self) */
|
|
4242
4242
|
alignSelf: string;
|
|
4243
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/alignment-baseline) */
|
|
4243
4244
|
alignmentBaseline: string;
|
|
4244
4245
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/all) */
|
|
4245
4246
|
all: string;
|
|
@@ -6712,6 +6713,7 @@ interface DOMMatrixReadOnly {
|
|
|
6712
6713
|
readonly m44: number;
|
|
6713
6714
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly/flipX) */
|
|
6714
6715
|
flipX(): DOMMatrix;
|
|
6716
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly/flipY) */
|
|
6715
6717
|
flipY(): DOMMatrix;
|
|
6716
6718
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly/inverse) */
|
|
6717
6719
|
inverse(): DOMMatrix;
|
|
@@ -9623,7 +9625,7 @@ interface GlobalEventHandlers {
|
|
|
9623
9625
|
onclick: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
|
|
9624
9626
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLDialogElement/close_event) */
|
|
9625
9627
|
onclose: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
9626
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLCanvasElement/
|
|
9628
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLCanvasElement/contextlost_event) */
|
|
9627
9629
|
oncontextlost: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
9628
9630
|
/**
|
|
9629
9631
|
* Fires when the user clicks the right mouse button in the client area, opening the context menu.
|
|
@@ -10541,7 +10543,7 @@ declare var HTMLDataListElement: {
|
|
|
10541
10543
|
|
|
10542
10544
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLDetailsElement) */
|
|
10543
10545
|
interface HTMLDetailsElement extends HTMLElement {
|
|
10544
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLDetailsElement/
|
|
10546
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLDetailsElement/name) */
|
|
10545
10547
|
name: string;
|
|
10546
10548
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLDetailsElement/open) */
|
|
10547
10549
|
open: boolean;
|
|
@@ -12187,7 +12189,11 @@ interface HTMLMediaElement extends HTMLElement {
|
|
|
12187
12189
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLMediaElement/playbackRate)
|
|
12188
12190
|
*/
|
|
12189
12191
|
playbackRate: number;
|
|
12190
|
-
/**
|
|
12192
|
+
/**
|
|
12193
|
+
* Gets TimeRanges for the current media resource that has been played.
|
|
12194
|
+
*
|
|
12195
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLMediaElement/played)
|
|
12196
|
+
*/
|
|
12191
12197
|
readonly played: TimeRanges;
|
|
12192
12198
|
/**
|
|
12193
12199
|
* Gets or sets a value indicating what data should be preloaded, if any.
|
|
@@ -12207,7 +12213,11 @@ interface HTMLMediaElement extends HTMLElement {
|
|
|
12207
12213
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLMediaElement/seekable)
|
|
12208
12214
|
*/
|
|
12209
12215
|
readonly seekable: TimeRanges;
|
|
12210
|
-
/**
|
|
12216
|
+
/**
|
|
12217
|
+
* Gets a flag that indicates whether the client is currently moving to a new playback position in the media resource.
|
|
12218
|
+
*
|
|
12219
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLMediaElement/seeking)
|
|
12220
|
+
*/
|
|
12211
12221
|
readonly seeking: boolean;
|
|
12212
12222
|
/**
|
|
12213
12223
|
* Available only in secure contexts.
|
|
@@ -18598,6 +18608,7 @@ declare var PointerEvent: {
|
|
|
18598
18608
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/PopStateEvent)
|
|
18599
18609
|
*/
|
|
18600
18610
|
interface PopStateEvent extends Event {
|
|
18611
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/PopStateEvent/hasUAVisualTransition) */
|
|
18601
18612
|
readonly hasUAVisualTransition: boolean;
|
|
18602
18613
|
/**
|
|
18603
18614
|
* Returns a copy of the information that was provided to pushState() or replaceState().
|
|
@@ -18689,6 +18700,7 @@ interface PublicKeyCredential extends Credential {
|
|
|
18689
18700
|
declare var PublicKeyCredential: {
|
|
18690
18701
|
prototype: PublicKeyCredential;
|
|
18691
18702
|
new(): PublicKeyCredential;
|
|
18703
|
+
getClientCapabilities(): Promise<PublicKeyCredentialClientCapabilities>;
|
|
18692
18704
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/PublicKeyCredential/isConditionalMediationAvailable_static) */
|
|
18693
18705
|
isConditionalMediationAvailable(): Promise<boolean>;
|
|
18694
18706
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/PublicKeyCredential/isUserVerifyingPlatformAuthenticatorAvailable_static) */
|
|
@@ -19861,11 +19873,17 @@ declare var SVGAElement: {
|
|
|
19861
19873
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGAngle)
|
|
19862
19874
|
*/
|
|
19863
19875
|
interface SVGAngle {
|
|
19876
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGAngle/unitType) */
|
|
19864
19877
|
readonly unitType: number;
|
|
19878
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGAngle/value) */
|
|
19865
19879
|
value: number;
|
|
19880
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGAngle/valueAsString) */
|
|
19866
19881
|
valueAsString: string;
|
|
19882
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGAngle/valueInSpecifiedUnits) */
|
|
19867
19883
|
valueInSpecifiedUnits: number;
|
|
19884
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGAngle/convertToSpecifiedUnits) */
|
|
19868
19885
|
convertToSpecifiedUnits(unitType: number): void;
|
|
19886
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGAngle/newValueSpecifiedUnits) */
|
|
19869
19887
|
newValueSpecifiedUnits(unitType: number, valueInSpecifiedUnits: number): void;
|
|
19870
19888
|
readonly SVG_ANGLETYPE_UNKNOWN: 0;
|
|
19871
19889
|
readonly SVG_ANGLETYPE_UNSPECIFIED: 1;
|
|
@@ -19980,7 +19998,9 @@ declare var SVGAnimatedEnumeration: {
|
|
|
19980
19998
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGAnimatedInteger)
|
|
19981
19999
|
*/
|
|
19982
20000
|
interface SVGAnimatedInteger {
|
|
20001
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGAnimatedInteger/animVal) */
|
|
19983
20002
|
readonly animVal: number;
|
|
20003
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGAnimatedInteger/baseVal) */
|
|
19984
20004
|
baseVal: number;
|
|
19985
20005
|
}
|
|
19986
20006
|
|
|
@@ -20070,7 +20090,9 @@ interface SVGAnimatedPoints {
|
|
|
20070
20090
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGAnimatedPreserveAspectRatio)
|
|
20071
20091
|
*/
|
|
20072
20092
|
interface SVGAnimatedPreserveAspectRatio {
|
|
20093
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGAnimatedPreserveAspectRatio/animVal) */
|
|
20073
20094
|
readonly animVal: SVGPreserveAspectRatio;
|
|
20095
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGAnimatedPreserveAspectRatio/baseVal) */
|
|
20074
20096
|
readonly baseVal: SVGPreserveAspectRatio;
|
|
20075
20097
|
}
|
|
20076
20098
|
|
|
@@ -20503,10 +20525,15 @@ declare var SVGFEConvolveMatrixElement: {
|
|
|
20503
20525
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGFEDiffuseLightingElement)
|
|
20504
20526
|
*/
|
|
20505
20527
|
interface SVGFEDiffuseLightingElement extends SVGElement, SVGFilterPrimitiveStandardAttributes {
|
|
20528
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGFEDiffuseLightingElement/diffuseConstant) */
|
|
20506
20529
|
readonly diffuseConstant: SVGAnimatedNumber;
|
|
20530
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGFEDiffuseLightingElement/in1) */
|
|
20507
20531
|
readonly in1: SVGAnimatedString;
|
|
20532
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGFEDiffuseLightingElement/kernelUnitLengthX) */
|
|
20508
20533
|
readonly kernelUnitLengthX: SVGAnimatedNumber;
|
|
20534
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGFEDiffuseLightingElement/kernelUnitLengthY) */
|
|
20509
20535
|
readonly kernelUnitLengthY: SVGAnimatedNumber;
|
|
20536
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGFEDiffuseLightingElement/surfaceScale) */
|
|
20510
20537
|
readonly surfaceScale: SVGAnimatedNumber;
|
|
20511
20538
|
addEventListener<K extends keyof SVGElementEventMap>(type: K, listener: (this: SVGFEDiffuseLightingElement, ev: SVGElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
20512
20539
|
addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
|
|
@@ -20742,6 +20769,7 @@ declare var SVGFEMergeElement: {
|
|
|
20742
20769
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGFEMergeNodeElement)
|
|
20743
20770
|
*/
|
|
20744
20771
|
interface SVGFEMergeNodeElement extends SVGElement {
|
|
20772
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGFEMergeNodeElement/in1) */
|
|
20745
20773
|
readonly in1: SVGAnimatedString;
|
|
20746
20774
|
addEventListener<K extends keyof SVGElementEventMap>(type: K, listener: (this: SVGFEMergeNodeElement, ev: SVGElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
20747
20775
|
addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
|
|
@@ -20760,9 +20788,13 @@ declare var SVGFEMergeNodeElement: {
|
|
|
20760
20788
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGFEMorphologyElement)
|
|
20761
20789
|
*/
|
|
20762
20790
|
interface SVGFEMorphologyElement extends SVGElement, SVGFilterPrimitiveStandardAttributes {
|
|
20791
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGFEMorphologyElement/in1) */
|
|
20763
20792
|
readonly in1: SVGAnimatedString;
|
|
20793
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGFEMorphologyElement/operator) */
|
|
20764
20794
|
readonly operator: SVGAnimatedEnumeration;
|
|
20795
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGFEMorphologyElement/radiusX) */
|
|
20765
20796
|
readonly radiusX: SVGAnimatedNumber;
|
|
20797
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGFEMorphologyElement/radiusY) */
|
|
20766
20798
|
readonly radiusY: SVGAnimatedNumber;
|
|
20767
20799
|
readonly SVG_MORPHOLOGY_OPERATOR_UNKNOWN: 0;
|
|
20768
20800
|
readonly SVG_MORPHOLOGY_OPERATOR_ERODE: 1;
|
|
@@ -21191,9 +21223,13 @@ declare var SVGLengthList: {
|
|
|
21191
21223
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGLineElement)
|
|
21192
21224
|
*/
|
|
21193
21225
|
interface SVGLineElement extends SVGGeometryElement {
|
|
21226
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGLineElement/x1) */
|
|
21194
21227
|
readonly x1: SVGAnimatedLength;
|
|
21228
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGLineElement/x2) */
|
|
21195
21229
|
readonly x2: SVGAnimatedLength;
|
|
21230
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGLineElement/y1) */
|
|
21196
21231
|
readonly y1: SVGAnimatedLength;
|
|
21232
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGLineElement/y2) */
|
|
21197
21233
|
readonly y2: SVGAnimatedLength;
|
|
21198
21234
|
addEventListener<K extends keyof SVGElementEventMap>(type: K, listener: (this: SVGLineElement, ev: SVGElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
21199
21235
|
addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
|
|
@@ -22228,7 +22264,7 @@ interface Selection {
|
|
|
22228
22264
|
containsNode(node: Node, allowPartialContainment?: boolean): boolean;
|
|
22229
22265
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Selection/deleteFromDocument) */
|
|
22230
22266
|
deleteFromDocument(): void;
|
|
22231
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Selection/
|
|
22267
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Selection/empty) */
|
|
22232
22268
|
empty(): void;
|
|
22233
22269
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Selection/extend) */
|
|
22234
22270
|
extend(node: Node, offset?: number): void;
|
|
@@ -22244,7 +22280,7 @@ interface Selection {
|
|
|
22244
22280
|
selectAllChildren(node: Node): void;
|
|
22245
22281
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Selection/setBaseAndExtent) */
|
|
22246
22282
|
setBaseAndExtent(anchorNode: Node, anchorOffset: number, focusNode: Node, focusOffset: number): void;
|
|
22247
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Selection/
|
|
22283
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Selection/setPosition) */
|
|
22248
22284
|
setPosition(node: Node | null, offset?: number): void;
|
|
22249
22285
|
toString(): string;
|
|
22250
22286
|
}
|
|
@@ -22978,7 +23014,7 @@ interface SubtleCrypto {
|
|
|
22978
23014
|
exportKey(format: Exclude<KeyFormat, "jwk">, key: CryptoKey): Promise<ArrayBuffer>;
|
|
22979
23015
|
exportKey(format: KeyFormat, key: CryptoKey): Promise<ArrayBuffer | JsonWebKey>;
|
|
22980
23016
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/SubtleCrypto/generateKey) */
|
|
22981
|
-
generateKey(algorithm: "Ed25519", extractable: boolean, keyUsages: ReadonlyArray<"sign" | "verify">): Promise<CryptoKeyPair>;
|
|
23017
|
+
generateKey(algorithm: "Ed25519" | { name: "Ed25519" }, extractable: boolean, keyUsages: ReadonlyArray<"sign" | "verify">): Promise<CryptoKeyPair>;
|
|
22982
23018
|
generateKey(algorithm: RsaHashedKeyGenParams | EcKeyGenParams, extractable: boolean, keyUsages: ReadonlyArray<KeyUsage>): Promise<CryptoKeyPair>;
|
|
22983
23019
|
generateKey(algorithm: AesKeyGenParams | HmacKeyGenParams | Pbkdf2Params, extractable: boolean, keyUsages: ReadonlyArray<KeyUsage>): Promise<CryptoKey>;
|
|
22984
23020
|
generateKey(algorithm: AlgorithmIdentifier, extractable: boolean, keyUsages: KeyUsage[]): Promise<CryptoKeyPair | CryptoKey>;
|
|
@@ -24966,7 +25002,7 @@ interface WebGL2RenderingContextBase {
|
|
|
24966
25002
|
clearBufferuiv(buffer: GLenum, drawbuffer: GLint, values: Uint32List, srcOffset?: number): void;
|
|
24967
25003
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGL2RenderingContext/clientWaitSync) */
|
|
24968
25004
|
clientWaitSync(sync: WebGLSync, flags: GLbitfield, timeout: GLuint64): GLenum;
|
|
24969
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/
|
|
25005
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGL2RenderingContext/compressedTexImage3D) */
|
|
24970
25006
|
compressedTexImage3D(target: GLenum, level: GLint, internalformat: GLenum, width: GLsizei, height: GLsizei, depth: GLsizei, border: GLint, imageSize: GLsizei, offset: GLintptr): void;
|
|
24971
25007
|
compressedTexImage3D(target: GLenum, level: GLint, internalformat: GLenum, width: GLsizei, height: GLsizei, depth: GLsizei, border: GLint, srcData: ArrayBufferView, srcOffset?: number, srcLengthOverride?: GLuint): void;
|
|
24972
25008
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGL2RenderingContext/compressedTexSubImage3D) */
|
|
@@ -25388,11 +25424,11 @@ interface WebGL2RenderingContextBase {
|
|
|
25388
25424
|
}
|
|
25389
25425
|
|
|
25390
25426
|
interface WebGL2RenderingContextOverloads {
|
|
25391
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/
|
|
25427
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGL2RenderingContext/bufferData) */
|
|
25392
25428
|
bufferData(target: GLenum, size: GLsizeiptr, usage: GLenum): void;
|
|
25393
25429
|
bufferData(target: GLenum, srcData: AllowSharedBufferSource | null, usage: GLenum): void;
|
|
25394
25430
|
bufferData(target: GLenum, srcData: ArrayBufferView, usage: GLenum, srcOffset: number, length?: GLuint): void;
|
|
25395
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/
|
|
25431
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGL2RenderingContext/bufferSubData) */
|
|
25396
25432
|
bufferSubData(target: GLenum, dstByteOffset: GLintptr, srcData: AllowSharedBufferSource): void;
|
|
25397
25433
|
bufferSubData(target: GLenum, dstByteOffset: GLintptr, srcData: ArrayBufferView, srcOffset: number, length?: GLuint): void;
|
|
25398
25434
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/compressedTexImage2D) */
|
|
@@ -25433,7 +25469,7 @@ interface WebGL2RenderingContextOverloads {
|
|
|
25433
25469
|
uniform4fv(location: WebGLUniformLocation | null, data: Float32List, srcOffset?: number, srcLength?: GLuint): void;
|
|
25434
25470
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/uniform) */
|
|
25435
25471
|
uniform4iv(location: WebGLUniformLocation | null, data: Int32List, srcOffset?: number, srcLength?: GLuint): void;
|
|
25436
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/
|
|
25472
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGL2RenderingContext/uniformMatrix) */
|
|
25437
25473
|
uniformMatrix2fv(location: WebGLUniformLocation | null, transpose: GLboolean, data: Float32List, srcOffset?: number, srcLength?: GLuint): void;
|
|
25438
25474
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/uniformMatrix) */
|
|
25439
25475
|
uniformMatrix3fv(location: WebGLUniformLocation | null, transpose: GLboolean, data: Float32List, srcOffset?: number, srcLength?: GLuint): void;
|
|
@@ -25849,7 +25885,7 @@ declare var WebGLRenderingContext: {
|
|
|
25849
25885
|
interface WebGLRenderingContextBase {
|
|
25850
25886
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/canvas) */
|
|
25851
25887
|
readonly canvas: HTMLCanvasElement | OffscreenCanvas;
|
|
25852
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/
|
|
25888
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGL2RenderingContext/drawingBufferColorSpace) */
|
|
25853
25889
|
drawingBufferColorSpace: PredefinedColorSpace;
|
|
25854
25890
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/drawingBufferHeight) */
|
|
25855
25891
|
readonly drawingBufferHeight: GLsizei;
|
|
@@ -28749,7 +28785,7 @@ declare var onchange: ((this: Window, ev: Event) => any) | null;
|
|
|
28749
28785
|
declare var onclick: ((this: Window, ev: MouseEvent) => any) | null;
|
|
28750
28786
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLDialogElement/close_event) */
|
|
28751
28787
|
declare var onclose: ((this: Window, ev: Event) => any) | null;
|
|
28752
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLCanvasElement/
|
|
28788
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLCanvasElement/contextlost_event) */
|
|
28753
28789
|
declare var oncontextlost: ((this: Window, ev: Event) => any) | null;
|
|
28754
28790
|
/**
|
|
28755
28791
|
* Fires when the user clicks the right mouse button in the client area, opening the context menu.
|
|
@@ -29284,6 +29320,7 @@ type OnErrorEventHandler = OnErrorEventHandlerNonNull | null;
|
|
|
29284
29320
|
type OptionalPostfixToken<T extends string> = ` ${T}` | "";
|
|
29285
29321
|
type OptionalPrefixToken<T extends string> = `${T} ` | "";
|
|
29286
29322
|
type PerformanceEntryList = PerformanceEntry[];
|
|
29323
|
+
type PublicKeyCredentialClientCapabilities = Record<string, boolean>;
|
|
29287
29324
|
type PublicKeyCredentialJSON = any;
|
|
29288
29325
|
type RTCRtpTransform = RTCRtpScriptTransform;
|
|
29289
29326
|
type ReadableStreamController<T> = ReadableStreamDefaultController<T> | ReadableByteStreamController;
|
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>;
|
|
@@ -410,7 +410,7 @@ interface WebGL2RenderingContextOverloads {
|
|
|
410
410
|
uniform4fv(location: WebGLUniformLocation | null, data: Iterable<GLfloat>, srcOffset?: number, srcLength?: GLuint): void;
|
|
411
411
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/uniform) */
|
|
412
412
|
uniform4iv(location: WebGLUniformLocation | null, data: Iterable<GLint>, srcOffset?: number, srcLength?: GLuint): void;
|
|
413
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/
|
|
413
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGL2RenderingContext/uniformMatrix) */
|
|
414
414
|
uniformMatrix2fv(location: WebGLUniformLocation | null, transpose: GLboolean, data: Iterable<GLfloat>, srcOffset?: number, srcLength?: GLuint): void;
|
|
415
415
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/uniformMatrix) */
|
|
416
416
|
uniformMatrix3fv(location: WebGLUniformLocation | null, transpose: GLboolean, data: Iterable<GLfloat>, srcOffset?: number, srcLength?: GLuint): void;
|