@types/web 0.0.305 → 0.0.306

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.305 at https://github.com/microsoft/TypeScript-DOM-lib-generator/releases/tag/%40types%2Fweb%400.0.305.
50
+ You can read what changed in version 0.0.306 at https://github.com/microsoft/TypeScript-DOM-lib-generator/releases/tag/%40types%2Fweb%400.0.306.
package/index.d.ts CHANGED
@@ -8,6 +8,10 @@
8
8
  /// Window 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;
@@ -149,6 +153,7 @@ interface AudioDecoderSupport {
149
153
  }
150
154
 
151
155
  interface AudioEncoderConfig {
156
+ aac?: AacEncoderConfig;
152
157
  bitrate?: number;
153
158
  bitrateMode?: BitrateMode;
154
159
  codec: string;
@@ -42422,6 +42427,7 @@ type Uint32List = Uint32Array<ArrayBufferLike> | GLuint[];
42422
42427
  type VibratePattern = number | number[];
42423
42428
  type WindowProxy = Window;
42424
42429
  type XMLHttpRequestBodyInit = Blob | BufferSource | FormData | URLSearchParams | string;
42430
+ type AacBitstreamFormat = "aac" | "adts";
42425
42431
  type AlignSetting = "center" | "end" | "left" | "right" | "start";
42426
42432
  type AlphaOption = "discard" | "keep";
42427
42433
  type AnimationPlayState = "finished" | "idle" | "paused" | "running";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@types/web",
3
- "version": "0.0.305",
3
+ "version": "0.0.306",
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
@@ -5,6 +5,10 @@
5
5
  /// Window 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;
@@ -146,6 +150,7 @@ interface AudioDecoderSupport {
146
150
  }
147
151
 
148
152
  interface AudioEncoderConfig {
153
+ aac?: AacEncoderConfig;
149
154
  bitrate?: number;
150
155
  bitrateMode?: BitrateMode;
151
156
  codec: string;
@@ -42396,6 +42401,7 @@ type Uint32List = Uint32Array | GLuint[];
42396
42401
  type VibratePattern = number | number[];
42397
42402
  type WindowProxy = Window;
42398
42403
  type XMLHttpRequestBodyInit = Blob | BufferSource | FormData | URLSearchParams | string;
42404
+ type AacBitstreamFormat = "aac" | "adts";
42399
42405
  type AlignSetting = "center" | "end" | "left" | "right" | "start";
42400
42406
  type AlphaOption = "discard" | "keep";
42401
42407
  type AnimationPlayState = "finished" | "idle" | "paused" | "running";
package/ts5.6/index.d.ts CHANGED
@@ -5,6 +5,10 @@
5
5
  /// Window 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;
@@ -146,6 +150,7 @@ interface AudioDecoderSupport {
146
150
  }
147
151
 
148
152
  interface AudioEncoderConfig {
153
+ aac?: AacEncoderConfig;
149
154
  bitrate?: number;
150
155
  bitrateMode?: BitrateMode;
151
156
  codec: string;
@@ -42419,6 +42424,7 @@ type Uint32List = Uint32Array | GLuint[];
42419
42424
  type VibratePattern = number | number[];
42420
42425
  type WindowProxy = Window;
42421
42426
  type XMLHttpRequestBodyInit = Blob | BufferSource | FormData | URLSearchParams | string;
42427
+ type AacBitstreamFormat = "aac" | "adts";
42422
42428
  type AlignSetting = "center" | "end" | "left" | "right" | "start";
42423
42429
  type AlphaOption = "discard" | "keep";
42424
42430
  type AnimationPlayState = "finished" | "idle" | "paused" | "running";
package/ts5.9/index.d.ts CHANGED
@@ -5,6 +5,10 @@
5
5
  /// Window 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;
@@ -146,6 +150,7 @@ interface AudioDecoderSupport {
146
150
  }
147
151
 
148
152
  interface AudioEncoderConfig {
153
+ aac?: AacEncoderConfig;
149
154
  bitrate?: number;
150
155
  bitrateMode?: BitrateMode;
151
156
  codec: string;
@@ -42419,6 +42424,7 @@ type Uint32List = Uint32Array<ArrayBufferLike> | GLuint[];
42419
42424
  type VibratePattern = number | number[];
42420
42425
  type WindowProxy = Window;
42421
42426
  type XMLHttpRequestBodyInit = Blob | BufferSource | FormData | URLSearchParams | string;
42427
+ type AacBitstreamFormat = "aac" | "adts";
42422
42428
  type AlignSetting = "center" | "end" | "left" | "right" | "start";
42423
42429
  type AlphaOption = "discard" | "keep";
42424
42430
  type AnimationPlayState = "finished" | "idle" | "paused" | "running";