@types/web 0.0.228 → 0.0.230

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.228 at https://github.com/microsoft/TypeScript-DOM-lib-generator/releases/tag/%40types%2Fweb%400.0.228.
50
+ You can read what changed in version 0.0.230 at https://github.com/microsoft/TypeScript-DOM-lib-generator/releases/tag/%40types%2Fweb%400.0.230.
package/index.d.ts CHANGED
@@ -124,7 +124,7 @@ interface AudioDataInit {
124
124
 
125
125
  interface AudioDecoderConfig {
126
126
  codec: string;
127
- description?: BufferSource;
127
+ description?: AllowSharedBufferSource;
128
128
  numberOfChannels: number;
129
129
  sampleRate: number;
130
130
  }
@@ -235,7 +235,7 @@ interface BiquadFilterOptions extends AudioNodeOptions {
235
235
  type?: BiquadFilterType;
236
236
  }
237
237
 
238
- interface BlobEventInit {
238
+ interface BlobEventInit extends EventInit {
239
239
  data: Blob;
240
240
  timecode?: DOMHighResTimeStamp;
241
241
  }
@@ -15748,6 +15748,7 @@ declare var ImageBitmapRenderingContext: {
15748
15748
 
15749
15749
  /**
15750
15750
  * The **`ImageCapture`** interface of the MediaStream Image Capture API provides methods to enable the capture of images or photos from a camera or other photographic device.
15751
+ * Available only in secure contexts.
15751
15752
  *
15752
15753
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/ImageCapture)
15753
15754
  */
@@ -21139,7 +21140,7 @@ declare var SVGAnimatedPreserveAspectRatio: {
21139
21140
  };
21140
21141
 
21141
21142
  /**
21142
- * The `SVGAnimatedRect` interface is used for attributes of basic SVGRect which can be animated.
21143
+ * The **`SVGAnimatedRect`** interface represents an SVGRect attribute that can be animated.
21143
21144
  *
21144
21145
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGAnimatedRect)
21145
21146
  */
package/iterable.d.ts CHANGED
@@ -380,7 +380,7 @@ interface WebGL2RenderingContextBase {
380
380
  /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGL2RenderingContext/getActiveUniforms) */
381
381
  getActiveUniforms(program: WebGLProgram, uniformIndices: Iterable<GLuint>, pname: GLenum): any;
382
382
  /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGL2RenderingContext/getUniformIndices) */
383
- getUniformIndices(program: WebGLProgram, uniformNames: Iterable<string>): Iterable<GLuint> | null;
383
+ getUniformIndices(program: WebGLProgram, uniformNames: Iterable<string>): GLuint[] | null;
384
384
  /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGL2RenderingContext/invalidateFramebuffer) */
385
385
  invalidateFramebuffer(target: GLenum, attachments: Iterable<GLenum>): void;
386
386
  /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGL2RenderingContext/invalidateSubFramebuffer) */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@types/web",
3
- "version": "0.0.228",
3
+ "version": "0.0.230",
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
@@ -124,7 +124,7 @@ interface AudioDataInit {
124
124
 
125
125
  interface AudioDecoderConfig {
126
126
  codec: string;
127
- description?: BufferSource;
127
+ description?: AllowSharedBufferSource;
128
128
  numberOfChannels: number;
129
129
  sampleRate: number;
130
130
  }
@@ -235,7 +235,7 @@ interface BiquadFilterOptions extends AudioNodeOptions {
235
235
  type?: BiquadFilterType;
236
236
  }
237
237
 
238
- interface BlobEventInit {
238
+ interface BlobEventInit extends EventInit {
239
239
  data: Blob;
240
240
  timecode?: DOMHighResTimeStamp;
241
241
  }
@@ -15728,6 +15728,7 @@ declare var ImageBitmapRenderingContext: {
15728
15728
 
15729
15729
  /**
15730
15730
  * The **`ImageCapture`** interface of the MediaStream Image Capture API provides methods to enable the capture of images or photos from a camera or other photographic device.
15731
+ * Available only in secure contexts.
15731
15732
  *
15732
15733
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/ImageCapture)
15733
15734
  */
@@ -21118,7 +21119,7 @@ declare var SVGAnimatedPreserveAspectRatio: {
21118
21119
  };
21119
21120
 
21120
21121
  /**
21121
- * The `SVGAnimatedRect` interface is used for attributes of basic SVGRect which can be animated.
21122
+ * The **`SVGAnimatedRect`** interface represents an SVGRect attribute that can be animated.
21122
21123
  *
21123
21124
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGAnimatedRect)
21124
21125
  */
@@ -360,7 +360,7 @@ interface WebGL2RenderingContextBase {
360
360
  /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGL2RenderingContext/getActiveUniforms) */
361
361
  getActiveUniforms(program: WebGLProgram, uniformIndices: Iterable<GLuint>, pname: GLenum): any;
362
362
  /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGL2RenderingContext/getUniformIndices) */
363
- getUniformIndices(program: WebGLProgram, uniformNames: Iterable<string>): Iterable<GLuint> | null;
363
+ getUniformIndices(program: WebGLProgram, uniformNames: Iterable<string>): GLuint[] | null;
364
364
  /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGL2RenderingContext/invalidateFramebuffer) */
365
365
  invalidateFramebuffer(target: GLenum, attachments: Iterable<GLenum>): void;
366
366
  /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGL2RenderingContext/invalidateSubFramebuffer) */
package/ts5.6/index.d.ts CHANGED
@@ -124,7 +124,7 @@ interface AudioDataInit {
124
124
 
125
125
  interface AudioDecoderConfig {
126
126
  codec: string;
127
- description?: BufferSource;
127
+ description?: AllowSharedBufferSource;
128
128
  numberOfChannels: number;
129
129
  sampleRate: number;
130
130
  }
@@ -235,7 +235,7 @@ interface BiquadFilterOptions extends AudioNodeOptions {
235
235
  type?: BiquadFilterType;
236
236
  }
237
237
 
238
- interface BlobEventInit {
238
+ interface BlobEventInit extends EventInit {
239
239
  data: Blob;
240
240
  timecode?: DOMHighResTimeStamp;
241
241
  }
@@ -15748,6 +15748,7 @@ declare var ImageBitmapRenderingContext: {
15748
15748
 
15749
15749
  /**
15750
15750
  * The **`ImageCapture`** interface of the MediaStream Image Capture API provides methods to enable the capture of images or photos from a camera or other photographic device.
15751
+ * Available only in secure contexts.
15751
15752
  *
15752
15753
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/ImageCapture)
15753
15754
  */
@@ -21139,7 +21140,7 @@ declare var SVGAnimatedPreserveAspectRatio: {
21139
21140
  };
21140
21141
 
21141
21142
  /**
21142
- * The `SVGAnimatedRect` interface is used for attributes of basic SVGRect which can be animated.
21143
+ * The **`SVGAnimatedRect`** interface represents an SVGRect attribute that can be animated.
21143
21144
  *
21144
21145
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGAnimatedRect)
21145
21146
  */
@@ -380,7 +380,7 @@ interface WebGL2RenderingContextBase {
380
380
  /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGL2RenderingContext/getActiveUniforms) */
381
381
  getActiveUniforms(program: WebGLProgram, uniformIndices: Iterable<GLuint>, pname: GLenum): any;
382
382
  /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGL2RenderingContext/getUniformIndices) */
383
- getUniformIndices(program: WebGLProgram, uniformNames: Iterable<string>): Iterable<GLuint> | null;
383
+ getUniformIndices(program: WebGLProgram, uniformNames: Iterable<string>): GLuint[] | null;
384
384
  /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGL2RenderingContext/invalidateFramebuffer) */
385
385
  invalidateFramebuffer(target: GLenum, attachments: Iterable<GLenum>): void;
386
386
  /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGL2RenderingContext/invalidateSubFramebuffer) */