@types/web 0.0.305 → 0.0.307
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 +15 -0
- package/package.json +1 -1
- package/ts5.5/index.d.ts +15 -0
- package/ts5.6/index.d.ts +15 -0
- package/ts5.9/index.d.ts +15 -0
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.307 at https://github.com/microsoft/TypeScript-DOM-lib-generator/releases/tag/%40types%2Fweb%400.0.307.
|
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;
|
|
@@ -973,6 +978,8 @@ interface Keyframe {
|
|
|
973
978
|
|
|
974
979
|
interface KeyframeAnimationOptions extends KeyframeEffectOptions {
|
|
975
980
|
id?: string;
|
|
981
|
+
rangeEnd?: TimelineRangeOffset | CSSNumericValue | CSSKeywordValue | string;
|
|
982
|
+
rangeStart?: TimelineRangeOffset | CSSNumericValue | CSSKeywordValue | string;
|
|
976
983
|
timeline?: AnimationTimeline | null;
|
|
977
984
|
}
|
|
978
985
|
|
|
@@ -2372,6 +2379,11 @@ interface TextEncoderEncodeIntoResult {
|
|
|
2372
2379
|
written: number;
|
|
2373
2380
|
}
|
|
2374
2381
|
|
|
2382
|
+
interface TimelineRangeOffset {
|
|
2383
|
+
offset?: CSSNumericValue;
|
|
2384
|
+
rangeName?: string | null;
|
|
2385
|
+
}
|
|
2386
|
+
|
|
2375
2387
|
interface ToggleEventInit extends EventInit {
|
|
2376
2388
|
newState?: string;
|
|
2377
2389
|
oldState?: string;
|
|
@@ -5883,6 +5895,7 @@ interface CSSRule {
|
|
|
5883
5895
|
readonly MEDIA_RULE: 4;
|
|
5884
5896
|
readonly FONT_FACE_RULE: 5;
|
|
5885
5897
|
readonly PAGE_RULE: 6;
|
|
5898
|
+
readonly MARGIN_RULE: 9;
|
|
5886
5899
|
readonly NAMESPACE_RULE: 10;
|
|
5887
5900
|
readonly KEYFRAMES_RULE: 7;
|
|
5888
5901
|
readonly KEYFRAME_RULE: 8;
|
|
@@ -5900,6 +5913,7 @@ declare var CSSRule: {
|
|
|
5900
5913
|
readonly MEDIA_RULE: 4;
|
|
5901
5914
|
readonly FONT_FACE_RULE: 5;
|
|
5902
5915
|
readonly PAGE_RULE: 6;
|
|
5916
|
+
readonly MARGIN_RULE: 9;
|
|
5903
5917
|
readonly NAMESPACE_RULE: 10;
|
|
5904
5918
|
readonly KEYFRAMES_RULE: 7;
|
|
5905
5919
|
readonly KEYFRAME_RULE: 8;
|
|
@@ -42422,6 +42436,7 @@ type Uint32List = Uint32Array<ArrayBufferLike> | GLuint[];
|
|
|
42422
42436
|
type VibratePattern = number | number[];
|
|
42423
42437
|
type WindowProxy = Window;
|
|
42424
42438
|
type XMLHttpRequestBodyInit = Blob | BufferSource | FormData | URLSearchParams | string;
|
|
42439
|
+
type AacBitstreamFormat = "aac" | "adts";
|
|
42425
42440
|
type AlignSetting = "center" | "end" | "left" | "right" | "start";
|
|
42426
42441
|
type AlphaOption = "discard" | "keep";
|
|
42427
42442
|
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;
|
|
@@ -970,6 +975,8 @@ interface Keyframe {
|
|
|
970
975
|
|
|
971
976
|
interface KeyframeAnimationOptions extends KeyframeEffectOptions {
|
|
972
977
|
id?: string;
|
|
978
|
+
rangeEnd?: TimelineRangeOffset | CSSNumericValue | CSSKeywordValue | string;
|
|
979
|
+
rangeStart?: TimelineRangeOffset | CSSNumericValue | CSSKeywordValue | string;
|
|
973
980
|
timeline?: AnimationTimeline | null;
|
|
974
981
|
}
|
|
975
982
|
|
|
@@ -2369,6 +2376,11 @@ interface TextEncoderEncodeIntoResult {
|
|
|
2369
2376
|
written: number;
|
|
2370
2377
|
}
|
|
2371
2378
|
|
|
2379
|
+
interface TimelineRangeOffset {
|
|
2380
|
+
offset?: CSSNumericValue;
|
|
2381
|
+
rangeName?: string | null;
|
|
2382
|
+
}
|
|
2383
|
+
|
|
2372
2384
|
interface ToggleEventInit extends EventInit {
|
|
2373
2385
|
newState?: string;
|
|
2374
2386
|
oldState?: string;
|
|
@@ -5873,6 +5885,7 @@ interface CSSRule {
|
|
|
5873
5885
|
readonly MEDIA_RULE: 4;
|
|
5874
5886
|
readonly FONT_FACE_RULE: 5;
|
|
5875
5887
|
readonly PAGE_RULE: 6;
|
|
5888
|
+
readonly MARGIN_RULE: 9;
|
|
5876
5889
|
readonly NAMESPACE_RULE: 10;
|
|
5877
5890
|
readonly KEYFRAMES_RULE: 7;
|
|
5878
5891
|
readonly KEYFRAME_RULE: 8;
|
|
@@ -5890,6 +5903,7 @@ declare var CSSRule: {
|
|
|
5890
5903
|
readonly MEDIA_RULE: 4;
|
|
5891
5904
|
readonly FONT_FACE_RULE: 5;
|
|
5892
5905
|
readonly PAGE_RULE: 6;
|
|
5906
|
+
readonly MARGIN_RULE: 9;
|
|
5893
5907
|
readonly NAMESPACE_RULE: 10;
|
|
5894
5908
|
readonly KEYFRAMES_RULE: 7;
|
|
5895
5909
|
readonly KEYFRAME_RULE: 8;
|
|
@@ -42396,6 +42410,7 @@ type Uint32List = Uint32Array | GLuint[];
|
|
|
42396
42410
|
type VibratePattern = number | number[];
|
|
42397
42411
|
type WindowProxy = Window;
|
|
42398
42412
|
type XMLHttpRequestBodyInit = Blob | BufferSource | FormData | URLSearchParams | string;
|
|
42413
|
+
type AacBitstreamFormat = "aac" | "adts";
|
|
42399
42414
|
type AlignSetting = "center" | "end" | "left" | "right" | "start";
|
|
42400
42415
|
type AlphaOption = "discard" | "keep";
|
|
42401
42416
|
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;
|
|
@@ -970,6 +975,8 @@ interface Keyframe {
|
|
|
970
975
|
|
|
971
976
|
interface KeyframeAnimationOptions extends KeyframeEffectOptions {
|
|
972
977
|
id?: string;
|
|
978
|
+
rangeEnd?: TimelineRangeOffset | CSSNumericValue | CSSKeywordValue | string;
|
|
979
|
+
rangeStart?: TimelineRangeOffset | CSSNumericValue | CSSKeywordValue | string;
|
|
973
980
|
timeline?: AnimationTimeline | null;
|
|
974
981
|
}
|
|
975
982
|
|
|
@@ -2369,6 +2376,11 @@ interface TextEncoderEncodeIntoResult {
|
|
|
2369
2376
|
written: number;
|
|
2370
2377
|
}
|
|
2371
2378
|
|
|
2379
|
+
interface TimelineRangeOffset {
|
|
2380
|
+
offset?: CSSNumericValue;
|
|
2381
|
+
rangeName?: string | null;
|
|
2382
|
+
}
|
|
2383
|
+
|
|
2372
2384
|
interface ToggleEventInit extends EventInit {
|
|
2373
2385
|
newState?: string;
|
|
2374
2386
|
oldState?: string;
|
|
@@ -5880,6 +5892,7 @@ interface CSSRule {
|
|
|
5880
5892
|
readonly MEDIA_RULE: 4;
|
|
5881
5893
|
readonly FONT_FACE_RULE: 5;
|
|
5882
5894
|
readonly PAGE_RULE: 6;
|
|
5895
|
+
readonly MARGIN_RULE: 9;
|
|
5883
5896
|
readonly NAMESPACE_RULE: 10;
|
|
5884
5897
|
readonly KEYFRAMES_RULE: 7;
|
|
5885
5898
|
readonly KEYFRAME_RULE: 8;
|
|
@@ -5897,6 +5910,7 @@ declare var CSSRule: {
|
|
|
5897
5910
|
readonly MEDIA_RULE: 4;
|
|
5898
5911
|
readonly FONT_FACE_RULE: 5;
|
|
5899
5912
|
readonly PAGE_RULE: 6;
|
|
5913
|
+
readonly MARGIN_RULE: 9;
|
|
5900
5914
|
readonly NAMESPACE_RULE: 10;
|
|
5901
5915
|
readonly KEYFRAMES_RULE: 7;
|
|
5902
5916
|
readonly KEYFRAME_RULE: 8;
|
|
@@ -42419,6 +42433,7 @@ type Uint32List = Uint32Array | GLuint[];
|
|
|
42419
42433
|
type VibratePattern = number | number[];
|
|
42420
42434
|
type WindowProxy = Window;
|
|
42421
42435
|
type XMLHttpRequestBodyInit = Blob | BufferSource | FormData | URLSearchParams | string;
|
|
42436
|
+
type AacBitstreamFormat = "aac" | "adts";
|
|
42422
42437
|
type AlignSetting = "center" | "end" | "left" | "right" | "start";
|
|
42423
42438
|
type AlphaOption = "discard" | "keep";
|
|
42424
42439
|
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;
|
|
@@ -970,6 +975,8 @@ interface Keyframe {
|
|
|
970
975
|
|
|
971
976
|
interface KeyframeAnimationOptions extends KeyframeEffectOptions {
|
|
972
977
|
id?: string;
|
|
978
|
+
rangeEnd?: TimelineRangeOffset | CSSNumericValue | CSSKeywordValue | string;
|
|
979
|
+
rangeStart?: TimelineRangeOffset | CSSNumericValue | CSSKeywordValue | string;
|
|
973
980
|
timeline?: AnimationTimeline | null;
|
|
974
981
|
}
|
|
975
982
|
|
|
@@ -2369,6 +2376,11 @@ interface TextEncoderEncodeIntoResult {
|
|
|
2369
2376
|
written: number;
|
|
2370
2377
|
}
|
|
2371
2378
|
|
|
2379
|
+
interface TimelineRangeOffset {
|
|
2380
|
+
offset?: CSSNumericValue;
|
|
2381
|
+
rangeName?: string | null;
|
|
2382
|
+
}
|
|
2383
|
+
|
|
2372
2384
|
interface ToggleEventInit extends EventInit {
|
|
2373
2385
|
newState?: string;
|
|
2374
2386
|
oldState?: string;
|
|
@@ -5880,6 +5892,7 @@ interface CSSRule {
|
|
|
5880
5892
|
readonly MEDIA_RULE: 4;
|
|
5881
5893
|
readonly FONT_FACE_RULE: 5;
|
|
5882
5894
|
readonly PAGE_RULE: 6;
|
|
5895
|
+
readonly MARGIN_RULE: 9;
|
|
5883
5896
|
readonly NAMESPACE_RULE: 10;
|
|
5884
5897
|
readonly KEYFRAMES_RULE: 7;
|
|
5885
5898
|
readonly KEYFRAME_RULE: 8;
|
|
@@ -5897,6 +5910,7 @@ declare var CSSRule: {
|
|
|
5897
5910
|
readonly MEDIA_RULE: 4;
|
|
5898
5911
|
readonly FONT_FACE_RULE: 5;
|
|
5899
5912
|
readonly PAGE_RULE: 6;
|
|
5913
|
+
readonly MARGIN_RULE: 9;
|
|
5900
5914
|
readonly NAMESPACE_RULE: 10;
|
|
5901
5915
|
readonly KEYFRAMES_RULE: 7;
|
|
5902
5916
|
readonly KEYFRAME_RULE: 8;
|
|
@@ -42419,6 +42433,7 @@ type Uint32List = Uint32Array<ArrayBufferLike> | GLuint[];
|
|
|
42419
42433
|
type VibratePattern = number | number[];
|
|
42420
42434
|
type WindowProxy = Window;
|
|
42421
42435
|
type XMLHttpRequestBodyInit = Blob | BufferSource | FormData | URLSearchParams | string;
|
|
42436
|
+
type AacBitstreamFormat = "aac" | "adts";
|
|
42422
42437
|
type AlignSetting = "center" | "end" | "left" | "right" | "start";
|
|
42423
42438
|
type AlphaOption = "discard" | "keep";
|
|
42424
42439
|
type AnimationPlayState = "finished" | "idle" | "paused" | "running";
|