@types/webworker 0.0.48 → 0.0.50
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 +7 -0
- package/package.json +1 -1
- package/ts5.5/index.d.ts +7 -0
- package/ts5.6/index.d.ts +7 -0
- package/ts5.9/index.d.ts +7 -0
package/README.md
CHANGED
|
@@ -45,4 +45,4 @@ This project does not respect semantic versioning as almost every change could p
|
|
|
45
45
|
|
|
46
46
|
## Deploy Metadata
|
|
47
47
|
|
|
48
|
-
You can read what changed in version 0.0.
|
|
48
|
+
You can read what changed in version 0.0.50 at https://github.com/microsoft/TypeScript-DOM-lib-generator/releases/tag/%40types%2Fwebworker%400.0.50.
|
package/index.d.ts
CHANGED
|
@@ -8,6 +8,10 @@
|
|
|
8
8
|
/// Worker APIs
|
|
9
9
|
/////////////////////////////
|
|
10
10
|
|
|
11
|
+
interface AacEncoderConfig {
|
|
12
|
+
format?: AacBitstreamFormat;
|
|
13
|
+
}
|
|
14
|
+
|
|
11
15
|
interface AddEventListenerOptions extends EventListenerOptions {
|
|
12
16
|
once?: boolean;
|
|
13
17
|
passive?: boolean;
|
|
@@ -88,6 +92,7 @@ interface AudioDecoderSupport {
|
|
|
88
92
|
}
|
|
89
93
|
|
|
90
94
|
interface AudioEncoderConfig {
|
|
95
|
+
aac?: AacEncoderConfig;
|
|
91
96
|
bitrate?: number;
|
|
92
97
|
bitrateMode?: BitrateMode;
|
|
93
98
|
codec: string;
|
|
@@ -1080,6 +1085,7 @@ interface WebGLContextAttributes {
|
|
|
1080
1085
|
premultipliedAlpha?: boolean;
|
|
1081
1086
|
preserveDrawingBuffer?: boolean;
|
|
1082
1087
|
stencil?: boolean;
|
|
1088
|
+
xrCompatible?: boolean;
|
|
1083
1089
|
}
|
|
1084
1090
|
|
|
1085
1091
|
interface WebGLContextEventInit extends EventInit {
|
|
@@ -13455,6 +13461,7 @@ type Transferable = OffscreenCanvas | ImageBitmap | MessagePort | MediaSourceHan
|
|
|
13455
13461
|
type URLPatternInput = string | URLPatternInit;
|
|
13456
13462
|
type Uint32List = Uint32Array<ArrayBufferLike> | GLuint[];
|
|
13457
13463
|
type XMLHttpRequestBodyInit = Blob | BufferSource | FormData | URLSearchParams | string;
|
|
13464
|
+
type AacBitstreamFormat = "aac" | "adts";
|
|
13458
13465
|
type AlphaOption = "discard" | "keep";
|
|
13459
13466
|
type AudioSampleFormat = "f32" | "f32-planar" | "s16" | "s16-planar" | "s32" | "s32-planar" | "u8" | "u8-planar";
|
|
13460
13467
|
type AvcBitstreamFormat = "annexb" | "avc";
|
package/package.json
CHANGED
package/ts5.5/index.d.ts
CHANGED
|
@@ -5,6 +5,10 @@
|
|
|
5
5
|
/// Worker APIs
|
|
6
6
|
/////////////////////////////
|
|
7
7
|
|
|
8
|
+
interface AacEncoderConfig {
|
|
9
|
+
format?: AacBitstreamFormat;
|
|
10
|
+
}
|
|
11
|
+
|
|
8
12
|
interface AddEventListenerOptions extends EventListenerOptions {
|
|
9
13
|
once?: boolean;
|
|
10
14
|
passive?: boolean;
|
|
@@ -85,6 +89,7 @@ interface AudioDecoderSupport {
|
|
|
85
89
|
}
|
|
86
90
|
|
|
87
91
|
interface AudioEncoderConfig {
|
|
92
|
+
aac?: AacEncoderConfig;
|
|
88
93
|
bitrate?: number;
|
|
89
94
|
bitrateMode?: BitrateMode;
|
|
90
95
|
codec: string;
|
|
@@ -1077,6 +1082,7 @@ interface WebGLContextAttributes {
|
|
|
1077
1082
|
premultipliedAlpha?: boolean;
|
|
1078
1083
|
preserveDrawingBuffer?: boolean;
|
|
1079
1084
|
stencil?: boolean;
|
|
1085
|
+
xrCompatible?: boolean;
|
|
1080
1086
|
}
|
|
1081
1087
|
|
|
1082
1088
|
interface WebGLContextEventInit extends EventInit {
|
|
@@ -13452,6 +13458,7 @@ type Transferable = OffscreenCanvas | ImageBitmap | MessagePort | MediaSourceHan
|
|
|
13452
13458
|
type URLPatternInput = string | URLPatternInit;
|
|
13453
13459
|
type Uint32List = Uint32Array | GLuint[];
|
|
13454
13460
|
type XMLHttpRequestBodyInit = Blob | BufferSource | FormData | URLSearchParams | string;
|
|
13461
|
+
type AacBitstreamFormat = "aac" | "adts";
|
|
13455
13462
|
type AlphaOption = "discard" | "keep";
|
|
13456
13463
|
type AudioSampleFormat = "f32" | "f32-planar" | "s16" | "s16-planar" | "s32" | "s32-planar" | "u8" | "u8-planar";
|
|
13457
13464
|
type AvcBitstreamFormat = "annexb" | "avc";
|
package/ts5.6/index.d.ts
CHANGED
|
@@ -5,6 +5,10 @@
|
|
|
5
5
|
/// Worker APIs
|
|
6
6
|
/////////////////////////////
|
|
7
7
|
|
|
8
|
+
interface AacEncoderConfig {
|
|
9
|
+
format?: AacBitstreamFormat;
|
|
10
|
+
}
|
|
11
|
+
|
|
8
12
|
interface AddEventListenerOptions extends EventListenerOptions {
|
|
9
13
|
once?: boolean;
|
|
10
14
|
passive?: boolean;
|
|
@@ -85,6 +89,7 @@ interface AudioDecoderSupport {
|
|
|
85
89
|
}
|
|
86
90
|
|
|
87
91
|
interface AudioEncoderConfig {
|
|
92
|
+
aac?: AacEncoderConfig;
|
|
88
93
|
bitrate?: number;
|
|
89
94
|
bitrateMode?: BitrateMode;
|
|
90
95
|
codec: string;
|
|
@@ -1077,6 +1082,7 @@ interface WebGLContextAttributes {
|
|
|
1077
1082
|
premultipliedAlpha?: boolean;
|
|
1078
1083
|
preserveDrawingBuffer?: boolean;
|
|
1079
1084
|
stencil?: boolean;
|
|
1085
|
+
xrCompatible?: boolean;
|
|
1080
1086
|
}
|
|
1081
1087
|
|
|
1082
1088
|
interface WebGLContextEventInit extends EventInit {
|
|
@@ -13452,6 +13458,7 @@ type Transferable = OffscreenCanvas | ImageBitmap | MessagePort | MediaSourceHan
|
|
|
13452
13458
|
type URLPatternInput = string | URLPatternInit;
|
|
13453
13459
|
type Uint32List = Uint32Array | GLuint[];
|
|
13454
13460
|
type XMLHttpRequestBodyInit = Blob | BufferSource | FormData | URLSearchParams | string;
|
|
13461
|
+
type AacBitstreamFormat = "aac" | "adts";
|
|
13455
13462
|
type AlphaOption = "discard" | "keep";
|
|
13456
13463
|
type AudioSampleFormat = "f32" | "f32-planar" | "s16" | "s16-planar" | "s32" | "s32-planar" | "u8" | "u8-planar";
|
|
13457
13464
|
type AvcBitstreamFormat = "annexb" | "avc";
|
package/ts5.9/index.d.ts
CHANGED
|
@@ -5,6 +5,10 @@
|
|
|
5
5
|
/// Worker APIs
|
|
6
6
|
/////////////////////////////
|
|
7
7
|
|
|
8
|
+
interface AacEncoderConfig {
|
|
9
|
+
format?: AacBitstreamFormat;
|
|
10
|
+
}
|
|
11
|
+
|
|
8
12
|
interface AddEventListenerOptions extends EventListenerOptions {
|
|
9
13
|
once?: boolean;
|
|
10
14
|
passive?: boolean;
|
|
@@ -85,6 +89,7 @@ interface AudioDecoderSupport {
|
|
|
85
89
|
}
|
|
86
90
|
|
|
87
91
|
interface AudioEncoderConfig {
|
|
92
|
+
aac?: AacEncoderConfig;
|
|
88
93
|
bitrate?: number;
|
|
89
94
|
bitrateMode?: BitrateMode;
|
|
90
95
|
codec: string;
|
|
@@ -1077,6 +1082,7 @@ interface WebGLContextAttributes {
|
|
|
1077
1082
|
premultipliedAlpha?: boolean;
|
|
1078
1083
|
preserveDrawingBuffer?: boolean;
|
|
1079
1084
|
stencil?: boolean;
|
|
1085
|
+
xrCompatible?: boolean;
|
|
1080
1086
|
}
|
|
1081
1087
|
|
|
1082
1088
|
interface WebGLContextEventInit extends EventInit {
|
|
@@ -13452,6 +13458,7 @@ type Transferable = OffscreenCanvas | ImageBitmap | MessagePort | MediaSourceHan
|
|
|
13452
13458
|
type URLPatternInput = string | URLPatternInit;
|
|
13453
13459
|
type Uint32List = Uint32Array<ArrayBufferLike> | GLuint[];
|
|
13454
13460
|
type XMLHttpRequestBodyInit = Blob | BufferSource | FormData | URLSearchParams | string;
|
|
13461
|
+
type AacBitstreamFormat = "aac" | "adts";
|
|
13455
13462
|
type AlphaOption = "discard" | "keep";
|
|
13456
13463
|
type AudioSampleFormat = "f32" | "f32-planar" | "s16" | "s16-planar" | "s32" | "s32-planar" | "u8" | "u8-planar";
|
|
13457
13464
|
type AvcBitstreamFormat = "annexb" | "avc";
|