@types/web 0.0.102 → 0.0.104
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 +11 -9
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -47,4 +47,4 @@ Prior to `@types/web` the web APIs were deployed with a version of TypeScript, a
|
|
|
47
47
|
|
|
48
48
|
## Deploy Metadata
|
|
49
49
|
|
|
50
|
-
You can read what changed in version 0.0.
|
|
50
|
+
You can read what changed in version 0.0.104 at https://github.com/microsoft/TypeScript-DOM-lib-generator/releases/tag/%40types%2Fweb%400.0.104.
|
package/index.d.ts
CHANGED
|
@@ -445,7 +445,7 @@ interface ElementDefinitionOptions {
|
|
|
445
445
|
}
|
|
446
446
|
|
|
447
447
|
interface EncodedVideoChunkInit {
|
|
448
|
-
data:
|
|
448
|
+
data: AllowSharedBufferSource;
|
|
449
449
|
duration?: number;
|
|
450
450
|
timestamp: number;
|
|
451
451
|
type: EncodedVideoChunkType;
|
|
@@ -1986,7 +1986,7 @@ interface VideoDecoderConfig {
|
|
|
1986
1986
|
codedHeight?: number;
|
|
1987
1987
|
codedWidth?: number;
|
|
1988
1988
|
colorSpace?: VideoColorSpaceInit;
|
|
1989
|
-
description?:
|
|
1989
|
+
description?: AllowSharedBufferSource;
|
|
1990
1990
|
displayAspectHeight?: number;
|
|
1991
1991
|
displayAspectWidth?: number;
|
|
1992
1992
|
hardwareAcceleration?: HardwareAcceleration;
|
|
@@ -5876,6 +5876,8 @@ interface CustomElementRegistry {
|
|
|
5876
5876
|
define(name: string, constructor: CustomElementConstructor, options?: ElementDefinitionOptions): void;
|
|
5877
5877
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CustomElementRegistry/get) */
|
|
5878
5878
|
get(name: string): CustomElementConstructor | undefined;
|
|
5879
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CustomElementRegistry/getName) */
|
|
5880
|
+
getName(constructor: CustomElementConstructor): string | null;
|
|
5879
5881
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CustomElementRegistry/upgrade) */
|
|
5880
5882
|
upgrade(root: Node): void;
|
|
5881
5883
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CustomElementRegistry/whenDefined) */
|
|
@@ -7932,7 +7934,7 @@ interface EncodedVideoChunk {
|
|
|
7932
7934
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/EncodedVideoChunk/type) */
|
|
7933
7935
|
readonly type: EncodedVideoChunkType;
|
|
7934
7936
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/EncodedVideoChunk/copyTo) */
|
|
7935
|
-
copyTo(destination:
|
|
7937
|
+
copyTo(destination: AllowSharedBufferSource): void;
|
|
7936
7938
|
}
|
|
7937
7939
|
|
|
7938
7940
|
declare var EncodedVideoChunk: {
|
|
@@ -22833,13 +22835,13 @@ interface VideoFrame {
|
|
|
22833
22835
|
clone(): VideoFrame;
|
|
22834
22836
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/VideoFrame/close) */
|
|
22835
22837
|
close(): void;
|
|
22836
|
-
copyTo(destination:
|
|
22838
|
+
copyTo(destination: AllowSharedBufferSource, options?: VideoFrameCopyToOptions): Promise<PlaneLayout[]>;
|
|
22837
22839
|
}
|
|
22838
22840
|
|
|
22839
22841
|
declare var VideoFrame: {
|
|
22840
22842
|
prototype: VideoFrame;
|
|
22841
22843
|
new(image: CanvasImageSource, init?: VideoFrameInit): VideoFrame;
|
|
22842
|
-
new(data:
|
|
22844
|
+
new(data: AllowSharedBufferSource, init: VideoFrameBufferInit): VideoFrame;
|
|
22843
22845
|
};
|
|
22844
22846
|
|
|
22845
22847
|
/**
|
|
@@ -24157,10 +24159,10 @@ interface WebGL2RenderingContextBase {
|
|
|
24157
24159
|
interface WebGL2RenderingContextOverloads {
|
|
24158
24160
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/bufferData) */
|
|
24159
24161
|
bufferData(target: GLenum, size: GLsizeiptr, usage: GLenum): void;
|
|
24160
|
-
bufferData(target: GLenum, srcData:
|
|
24162
|
+
bufferData(target: GLenum, srcData: AllowSharedBufferSource | null, usage: GLenum): void;
|
|
24161
24163
|
bufferData(target: GLenum, srcData: ArrayBufferView, usage: GLenum, srcOffset: GLuint, length?: GLuint): void;
|
|
24162
24164
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/bufferSubData) */
|
|
24163
|
-
bufferSubData(target: GLenum, dstByteOffset: GLintptr, srcData:
|
|
24165
|
+
bufferSubData(target: GLenum, dstByteOffset: GLintptr, srcData: AllowSharedBufferSource): void;
|
|
24164
24166
|
bufferSubData(target: GLenum, dstByteOffset: GLintptr, srcData: ArrayBufferView, srcOffset: GLuint, length?: GLuint): void;
|
|
24165
24167
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/compressedTexImage2D) */
|
|
24166
24168
|
compressedTexImage2D(target: GLenum, level: GLint, internalformat: GLenum, width: GLsizei, height: GLsizei, border: GLint, imageSize: GLsizei, offset: GLintptr): void;
|
|
@@ -25190,9 +25192,9 @@ interface WebGLRenderingContextBase {
|
|
|
25190
25192
|
interface WebGLRenderingContextOverloads {
|
|
25191
25193
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/bufferData) */
|
|
25192
25194
|
bufferData(target: GLenum, size: GLsizeiptr, usage: GLenum): void;
|
|
25193
|
-
bufferData(target: GLenum, data:
|
|
25195
|
+
bufferData(target: GLenum, data: AllowSharedBufferSource | null, usage: GLenum): void;
|
|
25194
25196
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/bufferSubData) */
|
|
25195
|
-
bufferSubData(target: GLenum, offset: GLintptr, data:
|
|
25197
|
+
bufferSubData(target: GLenum, offset: GLintptr, data: AllowSharedBufferSource): void;
|
|
25196
25198
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/compressedTexImage2D) */
|
|
25197
25199
|
compressedTexImage2D(target: GLenum, level: GLint, internalformat: GLenum, width: GLsizei, height: GLsizei, border: GLint, data: ArrayBufferView): void;
|
|
25198
25200
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/compressedTexSubImage2D) */
|