@types/web 0.0.153 → 0.0.155
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 -0
- package/iterable.d.ts +93 -73
- package/package.json +8 -1
- package/ts5.5/index.d.ts +28236 -0
- package/ts5.5/iterable.d.ts +453 -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.155 at https://github.com/microsoft/TypeScript-DOM-lib-generator/releases/tag/%40types%2Fweb%400.0.155.
|
package/index.d.ts
CHANGED
|
@@ -4104,11 +4104,13 @@ interface CSSStyleDeclaration {
|
|
|
4104
4104
|
clip: string;
|
|
4105
4105
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/clip-path) */
|
|
4106
4106
|
clipPath: string;
|
|
4107
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/clip-rule) */
|
|
4107
4108
|
clipRule: string;
|
|
4108
4109
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/color) */
|
|
4109
4110
|
color: string;
|
|
4110
4111
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/color-interpolation) */
|
|
4111
4112
|
colorInterpolation: string;
|
|
4113
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/color-interpolation-filters) */
|
|
4112
4114
|
colorInterpolationFilters: string;
|
|
4113
4115
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/color-scheme) */
|
|
4114
4116
|
colorScheme: string;
|
|
@@ -4178,8 +4180,11 @@ interface CSSStyleDeclaration {
|
|
|
4178
4180
|
dominantBaseline: string;
|
|
4179
4181
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/empty-cells) */
|
|
4180
4182
|
emptyCells: string;
|
|
4183
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/fill) */
|
|
4181
4184
|
fill: string;
|
|
4185
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/fill-opacity) */
|
|
4182
4186
|
fillOpacity: string;
|
|
4187
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/fill-rule) */
|
|
4183
4188
|
fillRule: string;
|
|
4184
4189
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/filter) */
|
|
4185
4190
|
filter: string;
|
|
@@ -4602,8 +4607,11 @@ interface CSSStyleDeclaration {
|
|
|
4602
4607
|
shapeMargin: string;
|
|
4603
4608
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/shape-outside) */
|
|
4604
4609
|
shapeOutside: string;
|
|
4610
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/shape-rendering) */
|
|
4605
4611
|
shapeRendering: string;
|
|
4612
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/stop-color) */
|
|
4606
4613
|
stopColor: string;
|
|
4614
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/stop-opacity) */
|
|
4607
4615
|
stopOpacity: string;
|
|
4608
4616
|
stroke: string;
|
|
4609
4617
|
strokeDasharray: string;
|
|
@@ -4621,6 +4629,7 @@ interface CSSStyleDeclaration {
|
|
|
4621
4629
|
textAlign: string;
|
|
4622
4630
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/text-align-last) */
|
|
4623
4631
|
textAlignLast: string;
|
|
4632
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/text-anchor) */
|
|
4624
4633
|
textAnchor: string;
|
|
4625
4634
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/text-combine-upright) */
|
|
4626
4635
|
textCombineUpright: string;
|
|
@@ -5125,7 +5134,9 @@ interface CSSStyleDeclaration {
|
|
|
5125
5134
|
wordWrap: string;
|
|
5126
5135
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/writing-mode) */
|
|
5127
5136
|
writingMode: string;
|
|
5137
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/x) */
|
|
5128
5138
|
x: string;
|
|
5139
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/y) */
|
|
5129
5140
|
y: string;
|
|
5130
5141
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/z-index) */
|
|
5131
5142
|
zIndex: string;
|
package/iterable.d.ts
CHANGED
|
@@ -23,36 +23,36 @@ interface BaseAudioContext {
|
|
|
23
23
|
}
|
|
24
24
|
|
|
25
25
|
interface CSSKeyframesRule {
|
|
26
|
-
[Symbol.iterator]():
|
|
26
|
+
[Symbol.iterator](): ArrayIterator<CSSKeyframeRule>;
|
|
27
27
|
}
|
|
28
28
|
|
|
29
29
|
interface CSSNumericArray {
|
|
30
|
-
[Symbol.iterator]():
|
|
31
|
-
entries():
|
|
32
|
-
keys():
|
|
33
|
-
values():
|
|
30
|
+
[Symbol.iterator](): ArrayIterator<CSSNumericValue>;
|
|
31
|
+
entries(): ArrayIterator<[number, CSSNumericValue]>;
|
|
32
|
+
keys(): ArrayIterator<number>;
|
|
33
|
+
values(): ArrayIterator<CSSNumericValue>;
|
|
34
34
|
}
|
|
35
35
|
|
|
36
36
|
interface CSSRuleList {
|
|
37
|
-
[Symbol.iterator]():
|
|
37
|
+
[Symbol.iterator](): ArrayIterator<CSSRule>;
|
|
38
38
|
}
|
|
39
39
|
|
|
40
40
|
interface CSSStyleDeclaration {
|
|
41
|
-
[Symbol.iterator]():
|
|
41
|
+
[Symbol.iterator](): ArrayIterator<string>;
|
|
42
42
|
}
|
|
43
43
|
|
|
44
44
|
interface CSSTransformValue {
|
|
45
|
-
[Symbol.iterator]():
|
|
46
|
-
entries():
|
|
47
|
-
keys():
|
|
48
|
-
values():
|
|
45
|
+
[Symbol.iterator](): ArrayIterator<CSSTransformComponent>;
|
|
46
|
+
entries(): ArrayIterator<[number, CSSTransformComponent]>;
|
|
47
|
+
keys(): ArrayIterator<number>;
|
|
48
|
+
values(): ArrayIterator<CSSTransformComponent>;
|
|
49
49
|
}
|
|
50
50
|
|
|
51
51
|
interface CSSUnparsedValue {
|
|
52
|
-
[Symbol.iterator]():
|
|
53
|
-
entries():
|
|
54
|
-
keys():
|
|
55
|
-
values():
|
|
52
|
+
[Symbol.iterator](): ArrayIterator<CSSUnparsedSegment>;
|
|
53
|
+
entries(): ArrayIterator<[number, CSSUnparsedSegment]>;
|
|
54
|
+
keys(): ArrayIterator<number>;
|
|
55
|
+
values(): ArrayIterator<CSSUnparsedSegment>;
|
|
56
56
|
}
|
|
57
57
|
|
|
58
58
|
interface Cache {
|
|
@@ -74,72 +74,80 @@ interface CustomStateSet extends Set<string> {
|
|
|
74
74
|
}
|
|
75
75
|
|
|
76
76
|
interface DOMRectList {
|
|
77
|
-
[Symbol.iterator]():
|
|
77
|
+
[Symbol.iterator](): ArrayIterator<DOMRect>;
|
|
78
78
|
}
|
|
79
79
|
|
|
80
80
|
interface DOMStringList {
|
|
81
|
-
[Symbol.iterator]():
|
|
81
|
+
[Symbol.iterator](): ArrayIterator<string>;
|
|
82
82
|
}
|
|
83
83
|
|
|
84
84
|
interface DOMTokenList {
|
|
85
|
-
[Symbol.iterator]():
|
|
86
|
-
entries():
|
|
87
|
-
keys():
|
|
88
|
-
values():
|
|
85
|
+
[Symbol.iterator](): ArrayIterator<string>;
|
|
86
|
+
entries(): ArrayIterator<[number, string]>;
|
|
87
|
+
keys(): ArrayIterator<number>;
|
|
88
|
+
values(): ArrayIterator<string>;
|
|
89
89
|
}
|
|
90
90
|
|
|
91
91
|
interface DataTransferItemList {
|
|
92
|
-
[Symbol.iterator]():
|
|
92
|
+
[Symbol.iterator](): ArrayIterator<DataTransferItem>;
|
|
93
93
|
}
|
|
94
94
|
|
|
95
95
|
interface EventCounts extends ReadonlyMap<string, number> {
|
|
96
96
|
}
|
|
97
97
|
|
|
98
98
|
interface FileList {
|
|
99
|
-
[Symbol.iterator]():
|
|
99
|
+
[Symbol.iterator](): ArrayIterator<File>;
|
|
100
100
|
}
|
|
101
101
|
|
|
102
102
|
interface FontFaceSet extends Set<FontFace> {
|
|
103
103
|
}
|
|
104
104
|
|
|
105
|
+
interface FormDataIterator<T> extends IteratorObject<T, BuiltinIteratorReturn, unknown> {
|
|
106
|
+
[Symbol.iterator](): FormDataIterator<T>;
|
|
107
|
+
}
|
|
108
|
+
|
|
105
109
|
interface FormData {
|
|
106
|
-
[Symbol.iterator]():
|
|
110
|
+
[Symbol.iterator](): FormDataIterator<[string, FormDataEntryValue]>;
|
|
107
111
|
/** Returns an array of key, value pairs for every entry in the list. */
|
|
108
|
-
entries():
|
|
112
|
+
entries(): FormDataIterator<[string, FormDataEntryValue]>;
|
|
109
113
|
/** Returns a list of keys in the list. */
|
|
110
|
-
keys():
|
|
114
|
+
keys(): FormDataIterator<string>;
|
|
111
115
|
/** Returns a list of values in the list. */
|
|
112
|
-
values():
|
|
116
|
+
values(): FormDataIterator<FormDataEntryValue>;
|
|
113
117
|
}
|
|
114
118
|
|
|
115
119
|
interface HTMLAllCollection {
|
|
116
|
-
[Symbol.iterator]():
|
|
120
|
+
[Symbol.iterator](): ArrayIterator<Element>;
|
|
117
121
|
}
|
|
118
122
|
|
|
119
123
|
interface HTMLCollectionBase {
|
|
120
|
-
[Symbol.iterator]():
|
|
124
|
+
[Symbol.iterator](): ArrayIterator<Element>;
|
|
121
125
|
}
|
|
122
126
|
|
|
123
127
|
interface HTMLCollectionOf<T extends Element> {
|
|
124
|
-
[Symbol.iterator]():
|
|
128
|
+
[Symbol.iterator](): ArrayIterator<T>;
|
|
125
129
|
}
|
|
126
130
|
|
|
127
131
|
interface HTMLFormElement {
|
|
128
|
-
[Symbol.iterator]():
|
|
132
|
+
[Symbol.iterator](): ArrayIterator<Element>;
|
|
129
133
|
}
|
|
130
134
|
|
|
131
135
|
interface HTMLSelectElement {
|
|
132
|
-
[Symbol.iterator]():
|
|
136
|
+
[Symbol.iterator](): ArrayIterator<HTMLOptionElement>;
|
|
137
|
+
}
|
|
138
|
+
|
|
139
|
+
interface HeadersIterator<T> extends IteratorObject<T, BuiltinIteratorReturn, unknown> {
|
|
140
|
+
[Symbol.iterator](): HeadersIterator<T>;
|
|
133
141
|
}
|
|
134
142
|
|
|
135
143
|
interface Headers {
|
|
136
|
-
[Symbol.iterator]():
|
|
144
|
+
[Symbol.iterator](): HeadersIterator<[string, string]>;
|
|
137
145
|
/** Returns an iterator allowing to go through all key/value pairs contained in this object. */
|
|
138
|
-
entries():
|
|
146
|
+
entries(): HeadersIterator<[string, string]>;
|
|
139
147
|
/** Returns an iterator allowing to go through all keys of the key/value pairs contained in this object. */
|
|
140
|
-
keys():
|
|
148
|
+
keys(): HeadersIterator<string>;
|
|
141
149
|
/** Returns an iterator allowing to go through all values of the key/value pairs contained in this object. */
|
|
142
|
-
values():
|
|
150
|
+
values(): HeadersIterator<string>;
|
|
143
151
|
}
|
|
144
152
|
|
|
145
153
|
interface Highlight extends Set<AbstractRange> {
|
|
@@ -179,15 +187,19 @@ interface MIDIOutput {
|
|
|
179
187
|
interface MIDIOutputMap extends ReadonlyMap<string, MIDIOutput> {
|
|
180
188
|
}
|
|
181
189
|
|
|
190
|
+
interface MediaKeyStatusMapIterator<T> extends IteratorObject<T, BuiltinIteratorReturn, unknown> {
|
|
191
|
+
[Symbol.iterator](): MediaKeyStatusMapIterator<T>;
|
|
192
|
+
}
|
|
193
|
+
|
|
182
194
|
interface MediaKeyStatusMap {
|
|
183
|
-
[Symbol.iterator]():
|
|
184
|
-
entries():
|
|
185
|
-
keys():
|
|
186
|
-
values():
|
|
195
|
+
[Symbol.iterator](): MediaKeyStatusMapIterator<[BufferSource, MediaKeyStatus]>;
|
|
196
|
+
entries(): MediaKeyStatusMapIterator<[BufferSource, MediaKeyStatus]>;
|
|
197
|
+
keys(): MediaKeyStatusMapIterator<BufferSource>;
|
|
198
|
+
values(): MediaKeyStatusMapIterator<MediaKeyStatus>;
|
|
187
199
|
}
|
|
188
200
|
|
|
189
201
|
interface MediaList {
|
|
190
|
-
[Symbol.iterator]():
|
|
202
|
+
[Symbol.iterator](): ArrayIterator<string>;
|
|
191
203
|
}
|
|
192
204
|
|
|
193
205
|
interface MessageEvent<T = any> {
|
|
@@ -196,11 +208,11 @@ interface MessageEvent<T = any> {
|
|
|
196
208
|
}
|
|
197
209
|
|
|
198
210
|
interface MimeTypeArray {
|
|
199
|
-
[Symbol.iterator]():
|
|
211
|
+
[Symbol.iterator](): ArrayIterator<MimeType>;
|
|
200
212
|
}
|
|
201
213
|
|
|
202
214
|
interface NamedNodeMap {
|
|
203
|
-
[Symbol.iterator]():
|
|
215
|
+
[Symbol.iterator](): ArrayIterator<Attr>;
|
|
204
216
|
}
|
|
205
217
|
|
|
206
218
|
interface Navigator {
|
|
@@ -215,31 +227,31 @@ interface Navigator {
|
|
|
215
227
|
}
|
|
216
228
|
|
|
217
229
|
interface NodeList {
|
|
218
|
-
[Symbol.iterator]():
|
|
230
|
+
[Symbol.iterator](): ArrayIterator<Node>;
|
|
219
231
|
/** Returns an array of key, value pairs for every entry in the list. */
|
|
220
|
-
entries():
|
|
232
|
+
entries(): ArrayIterator<[number, Node]>;
|
|
221
233
|
/** Returns an list of keys in the list. */
|
|
222
|
-
keys():
|
|
234
|
+
keys(): ArrayIterator<number>;
|
|
223
235
|
/** Returns an list of values in the list. */
|
|
224
|
-
values():
|
|
236
|
+
values(): ArrayIterator<Node>;
|
|
225
237
|
}
|
|
226
238
|
|
|
227
239
|
interface NodeListOf<TNode extends Node> {
|
|
228
|
-
[Symbol.iterator]():
|
|
240
|
+
[Symbol.iterator](): ArrayIterator<TNode>;
|
|
229
241
|
/** Returns an array of key, value pairs for every entry in the list. */
|
|
230
|
-
entries():
|
|
242
|
+
entries(): ArrayIterator<[number, TNode]>;
|
|
231
243
|
/** Returns an list of keys in the list. */
|
|
232
|
-
keys():
|
|
244
|
+
keys(): ArrayIterator<number>;
|
|
233
245
|
/** Returns an list of values in the list. */
|
|
234
|
-
values():
|
|
246
|
+
values(): ArrayIterator<TNode>;
|
|
235
247
|
}
|
|
236
248
|
|
|
237
249
|
interface Plugin {
|
|
238
|
-
[Symbol.iterator]():
|
|
250
|
+
[Symbol.iterator](): ArrayIterator<MimeType>;
|
|
239
251
|
}
|
|
240
252
|
|
|
241
253
|
interface PluginArray {
|
|
242
|
-
[Symbol.iterator]():
|
|
254
|
+
[Symbol.iterator](): ArrayIterator<Plugin>;
|
|
243
255
|
}
|
|
244
256
|
|
|
245
257
|
interface RTCRtpTransceiver {
|
|
@@ -251,46 +263,50 @@ interface RTCStatsReport extends ReadonlyMap<string, any> {
|
|
|
251
263
|
}
|
|
252
264
|
|
|
253
265
|
interface SVGLengthList {
|
|
254
|
-
[Symbol.iterator]():
|
|
266
|
+
[Symbol.iterator](): ArrayIterator<SVGLength>;
|
|
255
267
|
}
|
|
256
268
|
|
|
257
269
|
interface SVGNumberList {
|
|
258
|
-
[Symbol.iterator]():
|
|
270
|
+
[Symbol.iterator](): ArrayIterator<SVGNumber>;
|
|
259
271
|
}
|
|
260
272
|
|
|
261
273
|
interface SVGPointList {
|
|
262
|
-
[Symbol.iterator]():
|
|
274
|
+
[Symbol.iterator](): ArrayIterator<DOMPoint>;
|
|
263
275
|
}
|
|
264
276
|
|
|
265
277
|
interface SVGStringList {
|
|
266
|
-
[Symbol.iterator]():
|
|
278
|
+
[Symbol.iterator](): ArrayIterator<string>;
|
|
267
279
|
}
|
|
268
280
|
|
|
269
281
|
interface SVGTransformList {
|
|
270
|
-
[Symbol.iterator]():
|
|
282
|
+
[Symbol.iterator](): ArrayIterator<SVGTransform>;
|
|
271
283
|
}
|
|
272
284
|
|
|
273
285
|
interface SourceBufferList {
|
|
274
|
-
[Symbol.iterator]():
|
|
286
|
+
[Symbol.iterator](): ArrayIterator<SourceBuffer>;
|
|
275
287
|
}
|
|
276
288
|
|
|
277
289
|
interface SpeechRecognitionResult {
|
|
278
|
-
[Symbol.iterator]():
|
|
290
|
+
[Symbol.iterator](): ArrayIterator<SpeechRecognitionAlternative>;
|
|
279
291
|
}
|
|
280
292
|
|
|
281
293
|
interface SpeechRecognitionResultList {
|
|
282
|
-
[Symbol.iterator]():
|
|
294
|
+
[Symbol.iterator](): ArrayIterator<SpeechRecognitionResult>;
|
|
295
|
+
}
|
|
296
|
+
|
|
297
|
+
interface StylePropertyMapReadOnlyIterator<T> extends IteratorObject<T, BuiltinIteratorReturn, unknown> {
|
|
298
|
+
[Symbol.iterator](): StylePropertyMapReadOnlyIterator<T>;
|
|
283
299
|
}
|
|
284
300
|
|
|
285
301
|
interface StylePropertyMapReadOnly {
|
|
286
|
-
[Symbol.iterator]():
|
|
287
|
-
entries():
|
|
288
|
-
keys():
|
|
289
|
-
values():
|
|
302
|
+
[Symbol.iterator](): StylePropertyMapReadOnlyIterator<[string, Iterable<CSSStyleValue>]>;
|
|
303
|
+
entries(): StylePropertyMapReadOnlyIterator<[string, Iterable<CSSStyleValue>]>;
|
|
304
|
+
keys(): StylePropertyMapReadOnlyIterator<string>;
|
|
305
|
+
values(): StylePropertyMapReadOnlyIterator<Iterable<CSSStyleValue>>;
|
|
290
306
|
}
|
|
291
307
|
|
|
292
308
|
interface StyleSheetList {
|
|
293
|
-
[Symbol.iterator]():
|
|
309
|
+
[Symbol.iterator](): ArrayIterator<CSSStyleSheet>;
|
|
294
310
|
}
|
|
295
311
|
|
|
296
312
|
interface SubtleCrypto {
|
|
@@ -309,25 +325,29 @@ interface SubtleCrypto {
|
|
|
309
325
|
}
|
|
310
326
|
|
|
311
327
|
interface TextTrackCueList {
|
|
312
|
-
[Symbol.iterator]():
|
|
328
|
+
[Symbol.iterator](): ArrayIterator<TextTrackCue>;
|
|
313
329
|
}
|
|
314
330
|
|
|
315
331
|
interface TextTrackList {
|
|
316
|
-
[Symbol.iterator]():
|
|
332
|
+
[Symbol.iterator](): ArrayIterator<TextTrack>;
|
|
317
333
|
}
|
|
318
334
|
|
|
319
335
|
interface TouchList {
|
|
320
|
-
[Symbol.iterator]():
|
|
336
|
+
[Symbol.iterator](): ArrayIterator<Touch>;
|
|
337
|
+
}
|
|
338
|
+
|
|
339
|
+
interface URLSearchParamsIterator<T> extends IteratorObject<T, BuiltinIteratorReturn, unknown> {
|
|
340
|
+
[Symbol.iterator](): URLSearchParamsIterator<T>;
|
|
321
341
|
}
|
|
322
342
|
|
|
323
343
|
interface URLSearchParams {
|
|
324
|
-
[Symbol.iterator]():
|
|
344
|
+
[Symbol.iterator](): URLSearchParamsIterator<[string, string]>;
|
|
325
345
|
/** Returns an array of key, value pairs for every entry in the search params. */
|
|
326
|
-
entries():
|
|
346
|
+
entries(): URLSearchParamsIterator<[string, string]>;
|
|
327
347
|
/** Returns a list of keys in the search params. */
|
|
328
|
-
keys():
|
|
348
|
+
keys(): URLSearchParamsIterator<string>;
|
|
329
349
|
/** Returns a list of values in the search params. */
|
|
330
|
-
values():
|
|
350
|
+
values(): URLSearchParamsIterator<string>;
|
|
331
351
|
}
|
|
332
352
|
|
|
333
353
|
interface WEBGL_draw_buffers {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@types/web",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.155",
|
|
4
4
|
"description": "Types for the DOM, and other web technologies in browsers",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"contributors": [],
|
|
@@ -10,6 +10,13 @@
|
|
|
10
10
|
"type": "git",
|
|
11
11
|
"url": "https://github.com/microsoft/TypeScript-DOM-Lib-Generator.git"
|
|
12
12
|
},
|
|
13
|
+
"typesVersions": {
|
|
14
|
+
"<=5.5": {
|
|
15
|
+
"*": [
|
|
16
|
+
"ts5.5/*"
|
|
17
|
+
]
|
|
18
|
+
}
|
|
19
|
+
},
|
|
13
20
|
"scripts": {},
|
|
14
21
|
"dependencies": {}
|
|
15
22
|
}
|