@types/web 0.0.191 → 0.0.193

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 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.191 at https://github.com/microsoft/TypeScript-DOM-lib-generator/releases/tag/%40types%2Fweb%400.0.191.
50
+ You can read what changed in version 0.0.193 at https://github.com/microsoft/TypeScript-DOM-lib-generator/releases/tag/%40types%2Fweb%400.0.193.
package/index.d.ts CHANGED
@@ -2503,6 +2503,8 @@ interface ARIAMixin {
2503
2503
  ariaPressed: string | null;
2504
2504
  /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/ariaReadOnly) */
2505
2505
  ariaReadOnly: string | null;
2506
+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/ariaRelevant) */
2507
+ ariaRelevant: string | null;
2506
2508
  /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/ariaRequired) */
2507
2509
  ariaRequired: string | null;
2508
2510
  /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/ariaRoleDescription) */
@@ -4244,6 +4246,7 @@ interface CSSStyleDeclaration {
4244
4246
  alignItems: string;
4245
4247
  /** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/align-self) */
4246
4248
  alignSelf: string;
4249
+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/alignment-baseline) */
4247
4250
  alignmentBaseline: string;
4248
4251
  /** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/all) */
4249
4252
  all: string;
@@ -6717,6 +6720,7 @@ interface DOMMatrixReadOnly {
6717
6720
  readonly m44: number;
6718
6721
  /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly/flipX) */
6719
6722
  flipX(): DOMMatrix;
6723
+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly/flipY) */
6720
6724
  flipY(): DOMMatrix;
6721
6725
  /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly/inverse) */
6722
6726
  inverse(): DOMMatrix;
@@ -9631,7 +9635,7 @@ interface GlobalEventHandlers {
9631
9635
  onclick: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
9632
9636
  /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLDialogElement/close_event) */
9633
9637
  onclose: ((this: GlobalEventHandlers, ev: Event) => any) | null;
9634
- /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLCanvasElement/webglcontextlost_event) */
9638
+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLCanvasElement/contextlost_event) */
9635
9639
  oncontextlost: ((this: GlobalEventHandlers, ev: Event) => any) | null;
9636
9640
  /**
9637
9641
  * Fires when the user clicks the right mouse button in the client area, opening the context menu.
@@ -10551,7 +10555,7 @@ declare var HTMLDataListElement: {
10551
10555
 
10552
10556
  /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLDetailsElement) */
10553
10557
  interface HTMLDetailsElement extends HTMLElement {
10554
- /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLDetailsElement/open) */
10558
+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLDetailsElement/name) */
10555
10559
  name: string;
10556
10560
  /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLDetailsElement/open) */
10557
10561
  open: boolean;
@@ -12202,7 +12206,11 @@ interface HTMLMediaElement extends HTMLElement {
12202
12206
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLMediaElement/playbackRate)
12203
12207
  */
12204
12208
  playbackRate: number;
12205
- /** Gets TimeRanges for the current media resource that has been played. */
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
+ */
12206
12214
  readonly played: TimeRanges;
12207
12215
  /**
12208
12216
  * Gets or sets a value indicating what data should be preloaded, if any.
@@ -12222,7 +12230,11 @@ interface HTMLMediaElement extends HTMLElement {
12222
12230
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLMediaElement/seekable)
12223
12231
  */
12224
12232
  readonly seekable: TimeRanges;
12225
- /** Gets a flag that indicates whether the client is currently moving to a new playback position in the media resource. */
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
+ */
12226
12238
  readonly seeking: boolean;
12227
12239
  /**
12228
12240
  * Available only in secure contexts.
@@ -18616,6 +18628,7 @@ declare var PointerEvent: {
18616
18628
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/PopStateEvent)
18617
18629
  */
18618
18630
  interface PopStateEvent extends Event {
18631
+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/PopStateEvent/hasUAVisualTransition) */
18619
18632
  readonly hasUAVisualTransition: boolean;
18620
18633
  /**
18621
18634
  * Returns a copy of the information that was provided to pushState() or replaceState().
@@ -18707,6 +18720,7 @@ interface PublicKeyCredential extends Credential {
18707
18720
  declare var PublicKeyCredential: {
18708
18721
  prototype: PublicKeyCredential;
18709
18722
  new(): PublicKeyCredential;
18723
+ getClientCapabilities(): Promise<PublicKeyCredentialClientCapabilities>;
18710
18724
  /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/PublicKeyCredential/isConditionalMediationAvailable_static) */
18711
18725
  isConditionalMediationAvailable(): Promise<boolean>;
18712
18726
  /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/PublicKeyCredential/isUserVerifyingPlatformAuthenticatorAvailable_static) */
@@ -19880,11 +19894,17 @@ declare var SVGAElement: {
19880
19894
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGAngle)
19881
19895
  */
19882
19896
  interface SVGAngle {
19897
+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGAngle/unitType) */
19883
19898
  readonly unitType: number;
19899
+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGAngle/value) */
19884
19900
  value: number;
19901
+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGAngle/valueAsString) */
19885
19902
  valueAsString: string;
19903
+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGAngle/valueInSpecifiedUnits) */
19886
19904
  valueInSpecifiedUnits: number;
19905
+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGAngle/convertToSpecifiedUnits) */
19887
19906
  convertToSpecifiedUnits(unitType: number): void;
19907
+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGAngle/newValueSpecifiedUnits) */
19888
19908
  newValueSpecifiedUnits(unitType: number, valueInSpecifiedUnits: number): void;
19889
19909
  readonly SVG_ANGLETYPE_UNKNOWN: 0;
19890
19910
  readonly SVG_ANGLETYPE_UNSPECIFIED: 1;
@@ -19999,7 +20019,9 @@ declare var SVGAnimatedEnumeration: {
19999
20019
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGAnimatedInteger)
20000
20020
  */
20001
20021
  interface SVGAnimatedInteger {
20022
+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGAnimatedInteger/animVal) */
20002
20023
  readonly animVal: number;
20024
+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGAnimatedInteger/baseVal) */
20003
20025
  baseVal: number;
20004
20026
  }
20005
20027
 
@@ -20089,7 +20111,9 @@ interface SVGAnimatedPoints {
20089
20111
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGAnimatedPreserveAspectRatio)
20090
20112
  */
20091
20113
  interface SVGAnimatedPreserveAspectRatio {
20114
+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGAnimatedPreserveAspectRatio/animVal) */
20092
20115
  readonly animVal: SVGPreserveAspectRatio;
20116
+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGAnimatedPreserveAspectRatio/baseVal) */
20093
20117
  readonly baseVal: SVGPreserveAspectRatio;
20094
20118
  }
20095
20119
 
@@ -20522,10 +20546,15 @@ declare var SVGFEConvolveMatrixElement: {
20522
20546
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGFEDiffuseLightingElement)
20523
20547
  */
20524
20548
  interface SVGFEDiffuseLightingElement extends SVGElement, SVGFilterPrimitiveStandardAttributes {
20549
+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGFEDiffuseLightingElement/diffuseConstant) */
20525
20550
  readonly diffuseConstant: SVGAnimatedNumber;
20551
+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGFEDiffuseLightingElement/in1) */
20526
20552
  readonly in1: SVGAnimatedString;
20553
+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGFEDiffuseLightingElement/kernelUnitLengthX) */
20527
20554
  readonly kernelUnitLengthX: SVGAnimatedNumber;
20555
+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGFEDiffuseLightingElement/kernelUnitLengthY) */
20528
20556
  readonly kernelUnitLengthY: SVGAnimatedNumber;
20557
+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGFEDiffuseLightingElement/surfaceScale) */
20529
20558
  readonly surfaceScale: SVGAnimatedNumber;
20530
20559
  addEventListener<K extends keyof SVGElementEventMap>(type: K, listener: (this: SVGFEDiffuseLightingElement, ev: SVGElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
20531
20560
  addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
@@ -20761,6 +20790,7 @@ declare var SVGFEMergeElement: {
20761
20790
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGFEMergeNodeElement)
20762
20791
  */
20763
20792
  interface SVGFEMergeNodeElement extends SVGElement {
20793
+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGFEMergeNodeElement/in1) */
20764
20794
  readonly in1: SVGAnimatedString;
20765
20795
  addEventListener<K extends keyof SVGElementEventMap>(type: K, listener: (this: SVGFEMergeNodeElement, ev: SVGElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
20766
20796
  addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
@@ -20779,9 +20809,13 @@ declare var SVGFEMergeNodeElement: {
20779
20809
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGFEMorphologyElement)
20780
20810
  */
20781
20811
  interface SVGFEMorphologyElement extends SVGElement, SVGFilterPrimitiveStandardAttributes {
20812
+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGFEMorphologyElement/in1) */
20782
20813
  readonly in1: SVGAnimatedString;
20814
+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGFEMorphologyElement/operator) */
20783
20815
  readonly operator: SVGAnimatedEnumeration;
20816
+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGFEMorphologyElement/radiusX) */
20784
20817
  readonly radiusX: SVGAnimatedNumber;
20818
+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGFEMorphologyElement/radiusY) */
20785
20819
  readonly radiusY: SVGAnimatedNumber;
20786
20820
  readonly SVG_MORPHOLOGY_OPERATOR_UNKNOWN: 0;
20787
20821
  readonly SVG_MORPHOLOGY_OPERATOR_ERODE: 1;
@@ -21210,9 +21244,13 @@ declare var SVGLengthList: {
21210
21244
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGLineElement)
21211
21245
  */
21212
21246
  interface SVGLineElement extends SVGGeometryElement {
21247
+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGLineElement/x1) */
21213
21248
  readonly x1: SVGAnimatedLength;
21249
+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGLineElement/x2) */
21214
21250
  readonly x2: SVGAnimatedLength;
21251
+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGLineElement/y1) */
21215
21252
  readonly y1: SVGAnimatedLength;
21253
+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGLineElement/y2) */
21216
21254
  readonly y2: SVGAnimatedLength;
21217
21255
  addEventListener<K extends keyof SVGElementEventMap>(type: K, listener: (this: SVGLineElement, ev: SVGElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
21218
21256
  addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
@@ -22247,7 +22285,7 @@ interface Selection {
22247
22285
  containsNode(node: Node, allowPartialContainment?: boolean): boolean;
22248
22286
  /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Selection/deleteFromDocument) */
22249
22287
  deleteFromDocument(): void;
22250
- /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Selection/removeAllRanges) */
22288
+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Selection/empty) */
22251
22289
  empty(): void;
22252
22290
  /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Selection/extend) */
22253
22291
  extend(node: Node, offset?: number): void;
@@ -22263,7 +22301,7 @@ interface Selection {
22263
22301
  selectAllChildren(node: Node): void;
22264
22302
  /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Selection/setBaseAndExtent) */
22265
22303
  setBaseAndExtent(anchorNode: Node, anchorOffset: number, focusNode: Node, focusOffset: number): void;
22266
- /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Selection/collapse) */
22304
+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Selection/setPosition) */
22267
22305
  setPosition(node: Node | null, offset?: number): void;
22268
22306
  toString(): string;
22269
22307
  }
@@ -24986,7 +25024,7 @@ interface WebGL2RenderingContextBase {
24986
25024
  clearBufferuiv(buffer: GLenum, drawbuffer: GLint, values: Uint32List, srcOffset?: number): void;
24987
25025
  /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGL2RenderingContext/clientWaitSync) */
24988
25026
  clientWaitSync(sync: WebGLSync, flags: GLbitfield, timeout: GLuint64): GLenum;
24989
- /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/compressedTexImage2D) */
25027
+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGL2RenderingContext/compressedTexImage3D) */
24990
25028
  compressedTexImage3D(target: GLenum, level: GLint, internalformat: GLenum, width: GLsizei, height: GLsizei, depth: GLsizei, border: GLint, imageSize: GLsizei, offset: GLintptr): void;
24991
25029
  compressedTexImage3D(target: GLenum, level: GLint, internalformat: GLenum, width: GLsizei, height: GLsizei, depth: GLsizei, border: GLint, srcData: ArrayBufferView, srcOffset?: number, srcLengthOverride?: GLuint): void;
24992
25030
  /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGL2RenderingContext/compressedTexSubImage3D) */
@@ -25408,11 +25446,11 @@ interface WebGL2RenderingContextBase {
25408
25446
  }
25409
25447
 
25410
25448
  interface WebGL2RenderingContextOverloads {
25411
- /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/bufferData) */
25449
+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGL2RenderingContext/bufferData) */
25412
25450
  bufferData(target: GLenum, size: GLsizeiptr, usage: GLenum): void;
25413
25451
  bufferData(target: GLenum, srcData: AllowSharedBufferSource | null, usage: GLenum): void;
25414
25452
  bufferData(target: GLenum, srcData: ArrayBufferView, usage: GLenum, srcOffset: number, length?: GLuint): void;
25415
- /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/bufferSubData) */
25453
+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGL2RenderingContext/bufferSubData) */
25416
25454
  bufferSubData(target: GLenum, dstByteOffset: GLintptr, srcData: AllowSharedBufferSource): void;
25417
25455
  bufferSubData(target: GLenum, dstByteOffset: GLintptr, srcData: ArrayBufferView, srcOffset: number, length?: GLuint): void;
25418
25456
  /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/compressedTexImage2D) */
@@ -25453,7 +25491,7 @@ interface WebGL2RenderingContextOverloads {
25453
25491
  uniform4fv(location: WebGLUniformLocation | null, data: Float32List, srcOffset?: number, srcLength?: GLuint): void;
25454
25492
  /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/uniform) */
25455
25493
  uniform4iv(location: WebGLUniformLocation | null, data: Int32List, srcOffset?: number, srcLength?: GLuint): void;
25456
- /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/uniformMatrix) */
25494
+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGL2RenderingContext/uniformMatrix) */
25457
25495
  uniformMatrix2fv(location: WebGLUniformLocation | null, transpose: GLboolean, data: Float32List, srcOffset?: number, srcLength?: GLuint): void;
25458
25496
  /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/uniformMatrix) */
25459
25497
  uniformMatrix3fv(location: WebGLUniformLocation | null, transpose: GLboolean, data: Float32List, srcOffset?: number, srcLength?: GLuint): void;
@@ -25869,7 +25907,7 @@ declare var WebGLRenderingContext: {
25869
25907
  interface WebGLRenderingContextBase {
25870
25908
  /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/canvas) */
25871
25909
  readonly canvas: HTMLCanvasElement | OffscreenCanvas;
25872
- /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/drawingBufferColorSpace) */
25910
+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGL2RenderingContext/drawingBufferColorSpace) */
25873
25911
  drawingBufferColorSpace: PredefinedColorSpace;
25874
25912
  /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/drawingBufferHeight) */
25875
25913
  readonly drawingBufferHeight: GLsizei;
@@ -28769,7 +28807,7 @@ declare var onchange: ((this: Window, ev: Event) => any) | null;
28769
28807
  declare var onclick: ((this: Window, ev: MouseEvent) => any) | null;
28770
28808
  /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLDialogElement/close_event) */
28771
28809
  declare var onclose: ((this: Window, ev: Event) => any) | null;
28772
- /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLCanvasElement/webglcontextlost_event) */
28810
+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLCanvasElement/contextlost_event) */
28773
28811
  declare var oncontextlost: ((this: Window, ev: Event) => any) | null;
28774
28812
  /**
28775
28813
  * Fires when the user clicks the right mouse button in the client area, opening the context menu.
@@ -29304,6 +29342,7 @@ type OnErrorEventHandler = OnErrorEventHandlerNonNull | null;
29304
29342
  type OptionalPostfixToken<T extends string> = ` ${T}` | "";
29305
29343
  type OptionalPrefixToken<T extends string> = `${T} ` | "";
29306
29344
  type PerformanceEntryList = PerformanceEntry[];
29345
+ type PublicKeyCredentialClientCapabilities = Record<string, boolean>;
29307
29346
  type PublicKeyCredentialJSON = any;
29308
29347
  type RTCRtpTransform = RTCRtpScriptTransform;
29309
29348
  type ReadableStreamController<T> = ReadableStreamDefaultController<T> | ReadableByteStreamController;
package/iterable.d.ts CHANGED
@@ -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/WebGLRenderingContext/uniformMatrix) */
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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@types/web",
3
- "version": "0.0.191",
3
+ "version": "0.0.193",
4
4
  "description": "Types for the DOM, and other web technologies in browsers",
5
5
  "license": "Apache-2.0",
6
6
  "contributors": [],
package/ts5.5/index.d.ts CHANGED
@@ -2503,6 +2503,8 @@ interface ARIAMixin {
2503
2503
  ariaPressed: string | null;
2504
2504
  /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/ariaReadOnly) */
2505
2505
  ariaReadOnly: string | null;
2506
+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/ariaRelevant) */
2507
+ ariaRelevant: string | null;
2506
2508
  /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/ariaRequired) */
2507
2509
  ariaRequired: string | null;
2508
2510
  /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/ariaRoleDescription) */
@@ -4238,6 +4240,7 @@ interface CSSStyleDeclaration {
4238
4240
  alignItems: string;
4239
4241
  /** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/align-self) */
4240
4242
  alignSelf: string;
4243
+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/alignment-baseline) */
4241
4244
  alignmentBaseline: string;
4242
4245
  /** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/all) */
4243
4246
  all: string;
@@ -6710,6 +6713,7 @@ interface DOMMatrixReadOnly {
6710
6713
  readonly m44: number;
6711
6714
  /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly/flipX) */
6712
6715
  flipX(): DOMMatrix;
6716
+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly/flipY) */
6713
6717
  flipY(): DOMMatrix;
6714
6718
  /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly/inverse) */
6715
6719
  inverse(): DOMMatrix;
@@ -9621,7 +9625,7 @@ interface GlobalEventHandlers {
9621
9625
  onclick: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
9622
9626
  /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLDialogElement/close_event) */
9623
9627
  onclose: ((this: GlobalEventHandlers, ev: Event) => any) | null;
9624
- /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLCanvasElement/webglcontextlost_event) */
9628
+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLCanvasElement/contextlost_event) */
9625
9629
  oncontextlost: ((this: GlobalEventHandlers, ev: Event) => any) | null;
9626
9630
  /**
9627
9631
  * Fires when the user clicks the right mouse button in the client area, opening the context menu.
@@ -10539,7 +10543,7 @@ declare var HTMLDataListElement: {
10539
10543
 
10540
10544
  /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLDetailsElement) */
10541
10545
  interface HTMLDetailsElement extends HTMLElement {
10542
- /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLDetailsElement/open) */
10546
+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLDetailsElement/name) */
10543
10547
  name: string;
10544
10548
  /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLDetailsElement/open) */
10545
10549
  open: boolean;
@@ -12185,7 +12189,11 @@ interface HTMLMediaElement extends HTMLElement {
12185
12189
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLMediaElement/playbackRate)
12186
12190
  */
12187
12191
  playbackRate: number;
12188
- /** Gets TimeRanges for the current media resource that has been played. */
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
+ */
12189
12197
  readonly played: TimeRanges;
12190
12198
  /**
12191
12199
  * Gets or sets a value indicating what data should be preloaded, if any.
@@ -12205,7 +12213,11 @@ interface HTMLMediaElement extends HTMLElement {
12205
12213
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLMediaElement/seekable)
12206
12214
  */
12207
12215
  readonly seekable: TimeRanges;
12208
- /** Gets a flag that indicates whether the client is currently moving to a new playback position in the media resource. */
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
+ */
12209
12221
  readonly seeking: boolean;
12210
12222
  /**
12211
12223
  * Available only in secure contexts.
@@ -18596,6 +18608,7 @@ declare var PointerEvent: {
18596
18608
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/PopStateEvent)
18597
18609
  */
18598
18610
  interface PopStateEvent extends Event {
18611
+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/PopStateEvent/hasUAVisualTransition) */
18599
18612
  readonly hasUAVisualTransition: boolean;
18600
18613
  /**
18601
18614
  * Returns a copy of the information that was provided to pushState() or replaceState().
@@ -18687,6 +18700,7 @@ interface PublicKeyCredential extends Credential {
18687
18700
  declare var PublicKeyCredential: {
18688
18701
  prototype: PublicKeyCredential;
18689
18702
  new(): PublicKeyCredential;
18703
+ getClientCapabilities(): Promise<PublicKeyCredentialClientCapabilities>;
18690
18704
  /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/PublicKeyCredential/isConditionalMediationAvailable_static) */
18691
18705
  isConditionalMediationAvailable(): Promise<boolean>;
18692
18706
  /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/PublicKeyCredential/isUserVerifyingPlatformAuthenticatorAvailable_static) */
@@ -19859,11 +19873,17 @@ declare var SVGAElement: {
19859
19873
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGAngle)
19860
19874
  */
19861
19875
  interface SVGAngle {
19876
+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGAngle/unitType) */
19862
19877
  readonly unitType: number;
19878
+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGAngle/value) */
19863
19879
  value: number;
19880
+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGAngle/valueAsString) */
19864
19881
  valueAsString: string;
19882
+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGAngle/valueInSpecifiedUnits) */
19865
19883
  valueInSpecifiedUnits: number;
19884
+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGAngle/convertToSpecifiedUnits) */
19866
19885
  convertToSpecifiedUnits(unitType: number): void;
19886
+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGAngle/newValueSpecifiedUnits) */
19867
19887
  newValueSpecifiedUnits(unitType: number, valueInSpecifiedUnits: number): void;
19868
19888
  readonly SVG_ANGLETYPE_UNKNOWN: 0;
19869
19889
  readonly SVG_ANGLETYPE_UNSPECIFIED: 1;
@@ -19978,7 +19998,9 @@ declare var SVGAnimatedEnumeration: {
19978
19998
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGAnimatedInteger)
19979
19999
  */
19980
20000
  interface SVGAnimatedInteger {
20001
+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGAnimatedInteger/animVal) */
19981
20002
  readonly animVal: number;
20003
+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGAnimatedInteger/baseVal) */
19982
20004
  baseVal: number;
19983
20005
  }
19984
20006
 
@@ -20068,7 +20090,9 @@ interface SVGAnimatedPoints {
20068
20090
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGAnimatedPreserveAspectRatio)
20069
20091
  */
20070
20092
  interface SVGAnimatedPreserveAspectRatio {
20093
+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGAnimatedPreserveAspectRatio/animVal) */
20071
20094
  readonly animVal: SVGPreserveAspectRatio;
20095
+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGAnimatedPreserveAspectRatio/baseVal) */
20072
20096
  readonly baseVal: SVGPreserveAspectRatio;
20073
20097
  }
20074
20098
 
@@ -20501,10 +20525,15 @@ declare var SVGFEConvolveMatrixElement: {
20501
20525
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGFEDiffuseLightingElement)
20502
20526
  */
20503
20527
  interface SVGFEDiffuseLightingElement extends SVGElement, SVGFilterPrimitiveStandardAttributes {
20528
+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGFEDiffuseLightingElement/diffuseConstant) */
20504
20529
  readonly diffuseConstant: SVGAnimatedNumber;
20530
+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGFEDiffuseLightingElement/in1) */
20505
20531
  readonly in1: SVGAnimatedString;
20532
+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGFEDiffuseLightingElement/kernelUnitLengthX) */
20506
20533
  readonly kernelUnitLengthX: SVGAnimatedNumber;
20534
+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGFEDiffuseLightingElement/kernelUnitLengthY) */
20507
20535
  readonly kernelUnitLengthY: SVGAnimatedNumber;
20536
+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGFEDiffuseLightingElement/surfaceScale) */
20508
20537
  readonly surfaceScale: SVGAnimatedNumber;
20509
20538
  addEventListener<K extends keyof SVGElementEventMap>(type: K, listener: (this: SVGFEDiffuseLightingElement, ev: SVGElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
20510
20539
  addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
@@ -20740,6 +20769,7 @@ declare var SVGFEMergeElement: {
20740
20769
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGFEMergeNodeElement)
20741
20770
  */
20742
20771
  interface SVGFEMergeNodeElement extends SVGElement {
20772
+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGFEMergeNodeElement/in1) */
20743
20773
  readonly in1: SVGAnimatedString;
20744
20774
  addEventListener<K extends keyof SVGElementEventMap>(type: K, listener: (this: SVGFEMergeNodeElement, ev: SVGElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
20745
20775
  addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
@@ -20758,9 +20788,13 @@ declare var SVGFEMergeNodeElement: {
20758
20788
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGFEMorphologyElement)
20759
20789
  */
20760
20790
  interface SVGFEMorphologyElement extends SVGElement, SVGFilterPrimitiveStandardAttributes {
20791
+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGFEMorphologyElement/in1) */
20761
20792
  readonly in1: SVGAnimatedString;
20793
+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGFEMorphologyElement/operator) */
20762
20794
  readonly operator: SVGAnimatedEnumeration;
20795
+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGFEMorphologyElement/radiusX) */
20763
20796
  readonly radiusX: SVGAnimatedNumber;
20797
+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGFEMorphologyElement/radiusY) */
20764
20798
  readonly radiusY: SVGAnimatedNumber;
20765
20799
  readonly SVG_MORPHOLOGY_OPERATOR_UNKNOWN: 0;
20766
20800
  readonly SVG_MORPHOLOGY_OPERATOR_ERODE: 1;
@@ -21189,9 +21223,13 @@ declare var SVGLengthList: {
21189
21223
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGLineElement)
21190
21224
  */
21191
21225
  interface SVGLineElement extends SVGGeometryElement {
21226
+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGLineElement/x1) */
21192
21227
  readonly x1: SVGAnimatedLength;
21228
+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGLineElement/x2) */
21193
21229
  readonly x2: SVGAnimatedLength;
21230
+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGLineElement/y1) */
21194
21231
  readonly y1: SVGAnimatedLength;
21232
+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGLineElement/y2) */
21195
21233
  readonly y2: SVGAnimatedLength;
21196
21234
  addEventListener<K extends keyof SVGElementEventMap>(type: K, listener: (this: SVGLineElement, ev: SVGElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
21197
21235
  addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
@@ -22226,7 +22264,7 @@ interface Selection {
22226
22264
  containsNode(node: Node, allowPartialContainment?: boolean): boolean;
22227
22265
  /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Selection/deleteFromDocument) */
22228
22266
  deleteFromDocument(): void;
22229
- /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Selection/removeAllRanges) */
22267
+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Selection/empty) */
22230
22268
  empty(): void;
22231
22269
  /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Selection/extend) */
22232
22270
  extend(node: Node, offset?: number): void;
@@ -22242,7 +22280,7 @@ interface Selection {
22242
22280
  selectAllChildren(node: Node): void;
22243
22281
  /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Selection/setBaseAndExtent) */
22244
22282
  setBaseAndExtent(anchorNode: Node, anchorOffset: number, focusNode: Node, focusOffset: number): void;
22245
- /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Selection/collapse) */
22283
+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Selection/setPosition) */
22246
22284
  setPosition(node: Node | null, offset?: number): void;
22247
22285
  toString(): string;
22248
22286
  }
@@ -24964,7 +25002,7 @@ interface WebGL2RenderingContextBase {
24964
25002
  clearBufferuiv(buffer: GLenum, drawbuffer: GLint, values: Uint32List, srcOffset?: number): void;
24965
25003
  /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGL2RenderingContext/clientWaitSync) */
24966
25004
  clientWaitSync(sync: WebGLSync, flags: GLbitfield, timeout: GLuint64): GLenum;
24967
- /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/compressedTexImage2D) */
25005
+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGL2RenderingContext/compressedTexImage3D) */
24968
25006
  compressedTexImage3D(target: GLenum, level: GLint, internalformat: GLenum, width: GLsizei, height: GLsizei, depth: GLsizei, border: GLint, imageSize: GLsizei, offset: GLintptr): void;
24969
25007
  compressedTexImage3D(target: GLenum, level: GLint, internalformat: GLenum, width: GLsizei, height: GLsizei, depth: GLsizei, border: GLint, srcData: ArrayBufferView, srcOffset?: number, srcLengthOverride?: GLuint): void;
24970
25008
  /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGL2RenderingContext/compressedTexSubImage3D) */
@@ -25386,11 +25424,11 @@ interface WebGL2RenderingContextBase {
25386
25424
  }
25387
25425
 
25388
25426
  interface WebGL2RenderingContextOverloads {
25389
- /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/bufferData) */
25427
+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGL2RenderingContext/bufferData) */
25390
25428
  bufferData(target: GLenum, size: GLsizeiptr, usage: GLenum): void;
25391
25429
  bufferData(target: GLenum, srcData: AllowSharedBufferSource | null, usage: GLenum): void;
25392
25430
  bufferData(target: GLenum, srcData: ArrayBufferView, usage: GLenum, srcOffset: number, length?: GLuint): void;
25393
- /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/bufferSubData) */
25431
+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGL2RenderingContext/bufferSubData) */
25394
25432
  bufferSubData(target: GLenum, dstByteOffset: GLintptr, srcData: AllowSharedBufferSource): void;
25395
25433
  bufferSubData(target: GLenum, dstByteOffset: GLintptr, srcData: ArrayBufferView, srcOffset: number, length?: GLuint): void;
25396
25434
  /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/compressedTexImage2D) */
@@ -25431,7 +25469,7 @@ interface WebGL2RenderingContextOverloads {
25431
25469
  uniform4fv(location: WebGLUniformLocation | null, data: Float32List, srcOffset?: number, srcLength?: GLuint): void;
25432
25470
  /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/uniform) */
25433
25471
  uniform4iv(location: WebGLUniformLocation | null, data: Int32List, srcOffset?: number, srcLength?: GLuint): void;
25434
- /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/uniformMatrix) */
25472
+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGL2RenderingContext/uniformMatrix) */
25435
25473
  uniformMatrix2fv(location: WebGLUniformLocation | null, transpose: GLboolean, data: Float32List, srcOffset?: number, srcLength?: GLuint): void;
25436
25474
  /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/uniformMatrix) */
25437
25475
  uniformMatrix3fv(location: WebGLUniformLocation | null, transpose: GLboolean, data: Float32List, srcOffset?: number, srcLength?: GLuint): void;
@@ -25847,7 +25885,7 @@ declare var WebGLRenderingContext: {
25847
25885
  interface WebGLRenderingContextBase {
25848
25886
  /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/canvas) */
25849
25887
  readonly canvas: HTMLCanvasElement | OffscreenCanvas;
25850
- /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/drawingBufferColorSpace) */
25888
+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGL2RenderingContext/drawingBufferColorSpace) */
25851
25889
  drawingBufferColorSpace: PredefinedColorSpace;
25852
25890
  /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/drawingBufferHeight) */
25853
25891
  readonly drawingBufferHeight: GLsizei;
@@ -28747,7 +28785,7 @@ declare var onchange: ((this: Window, ev: Event) => any) | null;
28747
28785
  declare var onclick: ((this: Window, ev: MouseEvent) => any) | null;
28748
28786
  /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLDialogElement/close_event) */
28749
28787
  declare var onclose: ((this: Window, ev: Event) => any) | null;
28750
- /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLCanvasElement/webglcontextlost_event) */
28788
+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLCanvasElement/contextlost_event) */
28751
28789
  declare var oncontextlost: ((this: Window, ev: Event) => any) | null;
28752
28790
  /**
28753
28791
  * Fires when the user clicks the right mouse button in the client area, opening the context menu.
@@ -29282,6 +29320,7 @@ type OnErrorEventHandler = OnErrorEventHandlerNonNull | null;
29282
29320
  type OptionalPostfixToken<T extends string> = ` ${T}` | "";
29283
29321
  type OptionalPrefixToken<T extends string> = `${T} ` | "";
29284
29322
  type PerformanceEntryList = PerformanceEntry[];
29323
+ type PublicKeyCredentialClientCapabilities = Record<string, boolean>;
29285
29324
  type PublicKeyCredentialJSON = any;
29286
29325
  type RTCRtpTransform = RTCRtpScriptTransform;
29287
29326
  type ReadableStreamController<T> = ReadableStreamDefaultController<T> | ReadableByteStreamController;
@@ -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/WebGLRenderingContext/uniformMatrix) */
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;