@types/web 0.0.304 → 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 +1 -1
- package/index.d.ts +14 -1
- package/package.json +1 -1
- package/ts5.5/index.d.ts +14 -1
- package/ts5.6/index.d.ts +14 -1
- package/ts5.9/index.d.ts +14 -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.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;
|
|
@@ -659,6 +664,7 @@ interface EncodedVideoChunkInit {
|
|
|
659
664
|
|
|
660
665
|
interface EncodedVideoChunkMetadata {
|
|
661
666
|
decoderConfig?: VideoDecoderConfig;
|
|
667
|
+
svc?: SvcOutputMetadata;
|
|
662
668
|
}
|
|
663
669
|
|
|
664
670
|
interface ErrorEventInit extends EventInit {
|
|
@@ -730,6 +736,7 @@ interface FocusEventInit extends UIEventInit {
|
|
|
730
736
|
}
|
|
731
737
|
|
|
732
738
|
interface FocusOptions {
|
|
739
|
+
focusVisible?: boolean;
|
|
733
740
|
preventScroll?: boolean;
|
|
734
741
|
}
|
|
735
742
|
|
|
@@ -2340,6 +2347,10 @@ interface SubmitEventInit extends EventInit {
|
|
|
2340
2347
|
submitter?: HTMLElement | null;
|
|
2341
2348
|
}
|
|
2342
2349
|
|
|
2350
|
+
interface SvcOutputMetadata {
|
|
2351
|
+
temporalLayerId?: number;
|
|
2352
|
+
}
|
|
2353
|
+
|
|
2343
2354
|
interface TaskControllerInit {
|
|
2344
2355
|
priority?: TaskPriority;
|
|
2345
2356
|
}
|
|
@@ -13381,7 +13392,7 @@ interface Element extends Node, ARIAMixin, Animatable, ChildNode, NonDocumentTyp
|
|
|
13381
13392
|
*/
|
|
13382
13393
|
setAttribute(qualifiedName: string, value: string): void;
|
|
13383
13394
|
/**
|
|
13384
|
-
*
|
|
13395
|
+
* The **`setAttributeNS()`** method of the Element interface adds a new attribute or changes the value of an attribute with the given namespace and name.
|
|
13385
13396
|
*
|
|
13386
13397
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/setAttributeNS)
|
|
13387
13398
|
*/
|
|
@@ -26170,6 +26181,7 @@ declare var PerformanceObserverEntryList: {
|
|
|
26170
26181
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/PerformancePaintTiming)
|
|
26171
26182
|
*/
|
|
26172
26183
|
interface PerformancePaintTiming extends PerformanceEntry, PaintTimingMixin {
|
|
26184
|
+
/** The **`toJSON()`** method of the PerformancePaintTiming interface is a serializer; it returns a JSON representation of the PerformancePaintTiming object. */
|
|
26173
26185
|
toJSON(): any;
|
|
26174
26186
|
}
|
|
26175
26187
|
|
|
@@ -42415,6 +42427,7 @@ type Uint32List = Uint32Array<ArrayBufferLike> | GLuint[];
|
|
|
42415
42427
|
type VibratePattern = number | number[];
|
|
42416
42428
|
type WindowProxy = Window;
|
|
42417
42429
|
type XMLHttpRequestBodyInit = Blob | BufferSource | FormData | URLSearchParams | string;
|
|
42430
|
+
type AacBitstreamFormat = "aac" | "adts";
|
|
42418
42431
|
type AlignSetting = "center" | "end" | "left" | "right" | "start";
|
|
42419
42432
|
type AlphaOption = "discard" | "keep";
|
|
42420
42433
|
type AnimationPlayState = "finished" | "idle" | "paused" | "running";
|
package/package.json
CHANGED
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;
|
|
@@ -656,6 +661,7 @@ interface EncodedVideoChunkInit {
|
|
|
656
661
|
|
|
657
662
|
interface EncodedVideoChunkMetadata {
|
|
658
663
|
decoderConfig?: VideoDecoderConfig;
|
|
664
|
+
svc?: SvcOutputMetadata;
|
|
659
665
|
}
|
|
660
666
|
|
|
661
667
|
interface ErrorEventInit extends EventInit {
|
|
@@ -727,6 +733,7 @@ interface FocusEventInit extends UIEventInit {
|
|
|
727
733
|
}
|
|
728
734
|
|
|
729
735
|
interface FocusOptions {
|
|
736
|
+
focusVisible?: boolean;
|
|
730
737
|
preventScroll?: boolean;
|
|
731
738
|
}
|
|
732
739
|
|
|
@@ -2337,6 +2344,10 @@ interface SubmitEventInit extends EventInit {
|
|
|
2337
2344
|
submitter?: HTMLElement | null;
|
|
2338
2345
|
}
|
|
2339
2346
|
|
|
2347
|
+
interface SvcOutputMetadata {
|
|
2348
|
+
temporalLayerId?: number;
|
|
2349
|
+
}
|
|
2350
|
+
|
|
2340
2351
|
interface TaskControllerInit {
|
|
2341
2352
|
priority?: TaskPriority;
|
|
2342
2353
|
}
|
|
@@ -13368,7 +13379,7 @@ interface Element extends Node, ARIAMixin, Animatable, ChildNode, NonDocumentTyp
|
|
|
13368
13379
|
*/
|
|
13369
13380
|
setAttribute(qualifiedName: string, value: string): void;
|
|
13370
13381
|
/**
|
|
13371
|
-
*
|
|
13382
|
+
* The **`setAttributeNS()`** method of the Element interface adds a new attribute or changes the value of an attribute with the given namespace and name.
|
|
13372
13383
|
*
|
|
13373
13384
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/setAttributeNS)
|
|
13374
13385
|
*/
|
|
@@ -26146,6 +26157,7 @@ declare var PerformanceObserverEntryList: {
|
|
|
26146
26157
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/PerformancePaintTiming)
|
|
26147
26158
|
*/
|
|
26148
26159
|
interface PerformancePaintTiming extends PerformanceEntry, PaintTimingMixin {
|
|
26160
|
+
/** The **`toJSON()`** method of the PerformancePaintTiming interface is a serializer; it returns a JSON representation of the PerformancePaintTiming object. */
|
|
26149
26161
|
toJSON(): any;
|
|
26150
26162
|
}
|
|
26151
26163
|
|
|
@@ -42389,6 +42401,7 @@ type Uint32List = Uint32Array | GLuint[];
|
|
|
42389
42401
|
type VibratePattern = number | number[];
|
|
42390
42402
|
type WindowProxy = Window;
|
|
42391
42403
|
type XMLHttpRequestBodyInit = Blob | BufferSource | FormData | URLSearchParams | string;
|
|
42404
|
+
type AacBitstreamFormat = "aac" | "adts";
|
|
42392
42405
|
type AlignSetting = "center" | "end" | "left" | "right" | "start";
|
|
42393
42406
|
type AlphaOption = "discard" | "keep";
|
|
42394
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;
|
|
@@ -656,6 +661,7 @@ interface EncodedVideoChunkInit {
|
|
|
656
661
|
|
|
657
662
|
interface EncodedVideoChunkMetadata {
|
|
658
663
|
decoderConfig?: VideoDecoderConfig;
|
|
664
|
+
svc?: SvcOutputMetadata;
|
|
659
665
|
}
|
|
660
666
|
|
|
661
667
|
interface ErrorEventInit extends EventInit {
|
|
@@ -727,6 +733,7 @@ interface FocusEventInit extends UIEventInit {
|
|
|
727
733
|
}
|
|
728
734
|
|
|
729
735
|
interface FocusOptions {
|
|
736
|
+
focusVisible?: boolean;
|
|
730
737
|
preventScroll?: boolean;
|
|
731
738
|
}
|
|
732
739
|
|
|
@@ -2337,6 +2344,10 @@ interface SubmitEventInit extends EventInit {
|
|
|
2337
2344
|
submitter?: HTMLElement | null;
|
|
2338
2345
|
}
|
|
2339
2346
|
|
|
2347
|
+
interface SvcOutputMetadata {
|
|
2348
|
+
temporalLayerId?: number;
|
|
2349
|
+
}
|
|
2350
|
+
|
|
2340
2351
|
interface TaskControllerInit {
|
|
2341
2352
|
priority?: TaskPriority;
|
|
2342
2353
|
}
|
|
@@ -13378,7 +13389,7 @@ interface Element extends Node, ARIAMixin, Animatable, ChildNode, NonDocumentTyp
|
|
|
13378
13389
|
*/
|
|
13379
13390
|
setAttribute(qualifiedName: string, value: string): void;
|
|
13380
13391
|
/**
|
|
13381
|
-
*
|
|
13392
|
+
* The **`setAttributeNS()`** method of the Element interface adds a new attribute or changes the value of an attribute with the given namespace and name.
|
|
13382
13393
|
*
|
|
13383
13394
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/setAttributeNS)
|
|
13384
13395
|
*/
|
|
@@ -26167,6 +26178,7 @@ declare var PerformanceObserverEntryList: {
|
|
|
26167
26178
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/PerformancePaintTiming)
|
|
26168
26179
|
*/
|
|
26169
26180
|
interface PerformancePaintTiming extends PerformanceEntry, PaintTimingMixin {
|
|
26181
|
+
/** The **`toJSON()`** method of the PerformancePaintTiming interface is a serializer; it returns a JSON representation of the PerformancePaintTiming object. */
|
|
26170
26182
|
toJSON(): any;
|
|
26171
26183
|
}
|
|
26172
26184
|
|
|
@@ -42412,6 +42424,7 @@ type Uint32List = Uint32Array | GLuint[];
|
|
|
42412
42424
|
type VibratePattern = number | number[];
|
|
42413
42425
|
type WindowProxy = Window;
|
|
42414
42426
|
type XMLHttpRequestBodyInit = Blob | BufferSource | FormData | URLSearchParams | string;
|
|
42427
|
+
type AacBitstreamFormat = "aac" | "adts";
|
|
42415
42428
|
type AlignSetting = "center" | "end" | "left" | "right" | "start";
|
|
42416
42429
|
type AlphaOption = "discard" | "keep";
|
|
42417
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;
|
|
@@ -656,6 +661,7 @@ interface EncodedVideoChunkInit {
|
|
|
656
661
|
|
|
657
662
|
interface EncodedVideoChunkMetadata {
|
|
658
663
|
decoderConfig?: VideoDecoderConfig;
|
|
664
|
+
svc?: SvcOutputMetadata;
|
|
659
665
|
}
|
|
660
666
|
|
|
661
667
|
interface ErrorEventInit extends EventInit {
|
|
@@ -727,6 +733,7 @@ interface FocusEventInit extends UIEventInit {
|
|
|
727
733
|
}
|
|
728
734
|
|
|
729
735
|
interface FocusOptions {
|
|
736
|
+
focusVisible?: boolean;
|
|
730
737
|
preventScroll?: boolean;
|
|
731
738
|
}
|
|
732
739
|
|
|
@@ -2337,6 +2344,10 @@ interface SubmitEventInit extends EventInit {
|
|
|
2337
2344
|
submitter?: HTMLElement | null;
|
|
2338
2345
|
}
|
|
2339
2346
|
|
|
2347
|
+
interface SvcOutputMetadata {
|
|
2348
|
+
temporalLayerId?: number;
|
|
2349
|
+
}
|
|
2350
|
+
|
|
2340
2351
|
interface TaskControllerInit {
|
|
2341
2352
|
priority?: TaskPriority;
|
|
2342
2353
|
}
|
|
@@ -13378,7 +13389,7 @@ interface Element extends Node, ARIAMixin, Animatable, ChildNode, NonDocumentTyp
|
|
|
13378
13389
|
*/
|
|
13379
13390
|
setAttribute(qualifiedName: string, value: string): void;
|
|
13380
13391
|
/**
|
|
13381
|
-
*
|
|
13392
|
+
* The **`setAttributeNS()`** method of the Element interface adds a new attribute or changes the value of an attribute with the given namespace and name.
|
|
13382
13393
|
*
|
|
13383
13394
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/setAttributeNS)
|
|
13384
13395
|
*/
|
|
@@ -26167,6 +26178,7 @@ declare var PerformanceObserverEntryList: {
|
|
|
26167
26178
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/PerformancePaintTiming)
|
|
26168
26179
|
*/
|
|
26169
26180
|
interface PerformancePaintTiming extends PerformanceEntry, PaintTimingMixin {
|
|
26181
|
+
/** The **`toJSON()`** method of the PerformancePaintTiming interface is a serializer; it returns a JSON representation of the PerformancePaintTiming object. */
|
|
26170
26182
|
toJSON(): any;
|
|
26171
26183
|
}
|
|
26172
26184
|
|
|
@@ -42412,6 +42424,7 @@ type Uint32List = Uint32Array<ArrayBufferLike> | GLuint[];
|
|
|
42412
42424
|
type VibratePattern = number | number[];
|
|
42413
42425
|
type WindowProxy = Window;
|
|
42414
42426
|
type XMLHttpRequestBodyInit = Blob | BufferSource | FormData | URLSearchParams | string;
|
|
42427
|
+
type AacBitstreamFormat = "aac" | "adts";
|
|
42415
42428
|
type AlignSetting = "center" | "end" | "left" | "right" | "start";
|
|
42416
42429
|
type AlphaOption = "discard" | "keep";
|
|
42417
42430
|
type AnimationPlayState = "finished" | "idle" | "paused" | "running";
|