@stencil/core 4.38.3-dev.1762539475.838524a → 4.38.3-dev.1762795767.192e568
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/cli/index.cjs +1 -1
- package/cli/index.js +1 -1
- package/cli/package.json +1 -1
- package/compiler/lib.decorators.d.ts +15 -13
- package/compiler/lib.dom.asynciterable.d.ts +6 -14
- package/compiler/lib.dom.d.ts +633 -1647
- package/compiler/lib.dom.iterable.d.ts +86 -104
- package/compiler/lib.es2015.core.d.ts +9 -9
- package/compiler/lib.es2015.generator.d.ts +2 -2
- package/compiler/lib.es2015.iterable.d.ts +104 -214
- package/compiler/lib.es2015.symbol.wellknown.d.ts +10 -10
- package/compiler/lib.es2016.array.include.d.ts +9 -9
- package/compiler/lib.es2016.intl.d.ts +1 -1
- package/compiler/lib.es2017.d.ts +2 -3
- package/compiler/lib.es2017.object.d.ts +4 -4
- package/compiler/lib.es2017.sharedmemory.d.ts +14 -14
- package/compiler/lib.es2017.typedarrays.d.ts +9 -9
- package/compiler/lib.es2018.asyncgenerator.d.ts +2 -2
- package/compiler/lib.es2018.asynciterable.d.ts +6 -16
- package/compiler/lib.es2020.bigint.d.ts +62 -100
- package/compiler/lib.es2020.intl.d.ts +36 -36
- package/compiler/lib.es2020.sharedmemory.d.ts +11 -13
- package/compiler/lib.es2020.string.d.ts +1 -3
- package/compiler/lib.es2020.symbol.wellknown.d.ts +1 -5
- package/compiler/lib.es2021.intl.d.ts +17 -17
- package/compiler/lib.es2021.weakref.d.ts +0 -2
- package/compiler/lib.es2022.array.d.ts +11 -11
- package/compiler/lib.es2022.d.ts +2 -1
- package/compiler/lib.es2022.error.d.ts +0 -2
- package/compiler/lib.es2022.intl.d.ts +10 -14
- package/compiler/{lib.es2024.sharedmemory.d.ts → lib.es2022.sharedmemory.d.ts} +0 -29
- package/compiler/lib.es2023.array.d.ts +79 -79
- package/compiler/lib.es5.d.ts +303 -312
- package/compiler/lib.esnext.array.d.ts +1 -1
- package/compiler/lib.esnext.collection.d.ts +11 -1
- package/compiler/lib.esnext.d.ts +5 -4
- package/compiler/lib.esnext.disposable.d.ts +0 -8
- package/compiler/lib.esnext.promise.d.ts +12 -11
- package/compiler/lib.webworker.asynciterable.d.ts +6 -14
- package/compiler/lib.webworker.d.ts +146 -609
- package/compiler/lib.webworker.iterable.d.ts +42 -53
- package/compiler/package.json +1 -1
- package/compiler/stencil.js +8263 -12513
- package/dev-server/client/index.js +1 -1
- package/dev-server/client/package.json +1 -1
- package/dev-server/connector.html +2 -2
- package/dev-server/index.js +1 -1
- package/dev-server/package.json +1 -1
- package/dev-server/server-process.js +2 -2
- package/internal/app-data/package.json +1 -1
- package/internal/app-globals/package.json +1 -1
- package/internal/client/index.js +1 -1
- package/internal/client/package.json +1 -1
- package/internal/client/patch-browser.js +1 -1
- package/internal/hydrate/index.js +1 -1
- package/internal/hydrate/package.json +1 -1
- package/internal/hydrate/runner.js +1 -1
- package/internal/package.json +1 -1
- package/internal/testing/package.json +1 -1
- package/mock-doc/index.cjs +1 -1
- package/mock-doc/index.js +1 -1
- package/mock-doc/package.json +1 -1
- package/package.json +2 -2
- package/screenshot/index.js +1 -1
- package/screenshot/package.json +1 -1
- package/screenshot/pixel-match.js +1 -1
- package/screenshot/screenshot-fs.d.ts +1 -1
- package/sys/node/index.js +1 -1
- package/sys/node/package.json +1 -1
- package/sys/node/worker.js +1 -1
- package/testing/index.js +1 -1
- package/testing/package.json +1 -1
- package/compiler/lib.es2017.arraybuffer.d.ts +0 -21
- package/compiler/lib.es2024.arraybuffer.d.ts +0 -65
- package/compiler/lib.es2024.collection.d.ts +0 -29
- package/compiler/lib.es2024.d.ts +0 -26
- package/compiler/lib.es2024.full.d.ts +0 -24
- package/compiler/lib.es2024.promise.d.ts +0 -35
- package/compiler/lib.esnext.float16.d.ts +0 -443
- package/compiler/lib.esnext.iterator.d.ts +0 -148
- /package/compiler/{lib.es2024.object.d.ts → lib.esnext.object.d.ts} +0 -0
- /package/compiler/{lib.es2024.regexp.d.ts → lib.esnext.regexp.d.ts} +0 -0
- /package/compiler/{lib.es2024.string.d.ts → lib.esnext.string.d.ts} +0 -0
|
@@ -20,6 +20,11 @@ and limitations under the License.
|
|
|
20
20
|
/// Window Iterable APIs
|
|
21
21
|
/////////////////////////////
|
|
22
22
|
|
|
23
|
+
interface AbortSignal {
|
|
24
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/AbortSignal/any_static) */
|
|
25
|
+
any(signals: Iterable<AbortSignal>): AbortSignal;
|
|
26
|
+
}
|
|
27
|
+
|
|
23
28
|
interface AudioParam {
|
|
24
29
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/AudioParam/setValueCurveAtTime) */
|
|
25
30
|
setValueCurveAtTime(values: Iterable<number>, startTime: number, duration: number): AudioParam;
|
|
@@ -36,36 +41,36 @@ interface BaseAudioContext {
|
|
|
36
41
|
}
|
|
37
42
|
|
|
38
43
|
interface CSSKeyframesRule {
|
|
39
|
-
[Symbol.iterator]():
|
|
44
|
+
[Symbol.iterator](): IterableIterator<CSSKeyframeRule>;
|
|
40
45
|
}
|
|
41
46
|
|
|
42
47
|
interface CSSNumericArray {
|
|
43
|
-
[Symbol.iterator]():
|
|
44
|
-
entries():
|
|
45
|
-
keys():
|
|
46
|
-
values():
|
|
48
|
+
[Symbol.iterator](): IterableIterator<CSSNumericValue>;
|
|
49
|
+
entries(): IterableIterator<[number, CSSNumericValue]>;
|
|
50
|
+
keys(): IterableIterator<number>;
|
|
51
|
+
values(): IterableIterator<CSSNumericValue>;
|
|
47
52
|
}
|
|
48
53
|
|
|
49
54
|
interface CSSRuleList {
|
|
50
|
-
[Symbol.iterator]():
|
|
55
|
+
[Symbol.iterator](): IterableIterator<CSSRule>;
|
|
51
56
|
}
|
|
52
57
|
|
|
53
58
|
interface CSSStyleDeclaration {
|
|
54
|
-
[Symbol.iterator]():
|
|
59
|
+
[Symbol.iterator](): IterableIterator<string>;
|
|
55
60
|
}
|
|
56
61
|
|
|
57
62
|
interface CSSTransformValue {
|
|
58
|
-
[Symbol.iterator]():
|
|
59
|
-
entries():
|
|
60
|
-
keys():
|
|
61
|
-
values():
|
|
63
|
+
[Symbol.iterator](): IterableIterator<CSSTransformComponent>;
|
|
64
|
+
entries(): IterableIterator<[number, CSSTransformComponent]>;
|
|
65
|
+
keys(): IterableIterator<number>;
|
|
66
|
+
values(): IterableIterator<CSSTransformComponent>;
|
|
62
67
|
}
|
|
63
68
|
|
|
64
69
|
interface CSSUnparsedValue {
|
|
65
|
-
[Symbol.iterator]():
|
|
66
|
-
entries():
|
|
67
|
-
keys():
|
|
68
|
-
values():
|
|
70
|
+
[Symbol.iterator](): IterableIterator<CSSUnparsedSegment>;
|
|
71
|
+
entries(): IterableIterator<[number, CSSUnparsedSegment]>;
|
|
72
|
+
keys(): IterableIterator<number>;
|
|
73
|
+
values(): IterableIterator<CSSUnparsedSegment>;
|
|
69
74
|
}
|
|
70
75
|
|
|
71
76
|
interface Cache {
|
|
@@ -87,80 +92,72 @@ interface CustomStateSet extends Set<string> {
|
|
|
87
92
|
}
|
|
88
93
|
|
|
89
94
|
interface DOMRectList {
|
|
90
|
-
[Symbol.iterator]():
|
|
95
|
+
[Symbol.iterator](): IterableIterator<DOMRect>;
|
|
91
96
|
}
|
|
92
97
|
|
|
93
98
|
interface DOMStringList {
|
|
94
|
-
[Symbol.iterator]():
|
|
99
|
+
[Symbol.iterator](): IterableIterator<string>;
|
|
95
100
|
}
|
|
96
101
|
|
|
97
102
|
interface DOMTokenList {
|
|
98
|
-
[Symbol.iterator]():
|
|
99
|
-
entries():
|
|
100
|
-
keys():
|
|
101
|
-
values():
|
|
103
|
+
[Symbol.iterator](): IterableIterator<string>;
|
|
104
|
+
entries(): IterableIterator<[number, string]>;
|
|
105
|
+
keys(): IterableIterator<number>;
|
|
106
|
+
values(): IterableIterator<string>;
|
|
102
107
|
}
|
|
103
108
|
|
|
104
109
|
interface DataTransferItemList {
|
|
105
|
-
[Symbol.iterator]():
|
|
110
|
+
[Symbol.iterator](): IterableIterator<DataTransferItem>;
|
|
106
111
|
}
|
|
107
112
|
|
|
108
113
|
interface EventCounts extends ReadonlyMap<string, number> {
|
|
109
114
|
}
|
|
110
115
|
|
|
111
116
|
interface FileList {
|
|
112
|
-
[Symbol.iterator]():
|
|
117
|
+
[Symbol.iterator](): IterableIterator<File>;
|
|
113
118
|
}
|
|
114
119
|
|
|
115
120
|
interface FontFaceSet extends Set<FontFace> {
|
|
116
121
|
}
|
|
117
122
|
|
|
118
|
-
interface FormDataIterator<T> extends IteratorObject<T, BuiltinIteratorReturn, unknown> {
|
|
119
|
-
[Symbol.iterator](): FormDataIterator<T>;
|
|
120
|
-
}
|
|
121
|
-
|
|
122
123
|
interface FormData {
|
|
123
|
-
[Symbol.iterator]():
|
|
124
|
+
[Symbol.iterator](): IterableIterator<[string, FormDataEntryValue]>;
|
|
124
125
|
/** Returns an array of key, value pairs for every entry in the list. */
|
|
125
|
-
entries():
|
|
126
|
+
entries(): IterableIterator<[string, FormDataEntryValue]>;
|
|
126
127
|
/** Returns a list of keys in the list. */
|
|
127
|
-
keys():
|
|
128
|
+
keys(): IterableIterator<string>;
|
|
128
129
|
/** Returns a list of values in the list. */
|
|
129
|
-
values():
|
|
130
|
+
values(): IterableIterator<FormDataEntryValue>;
|
|
130
131
|
}
|
|
131
132
|
|
|
132
133
|
interface HTMLAllCollection {
|
|
133
|
-
[Symbol.iterator]():
|
|
134
|
+
[Symbol.iterator](): IterableIterator<Element>;
|
|
134
135
|
}
|
|
135
136
|
|
|
136
137
|
interface HTMLCollectionBase {
|
|
137
|
-
[Symbol.iterator]():
|
|
138
|
+
[Symbol.iterator](): IterableIterator<Element>;
|
|
138
139
|
}
|
|
139
140
|
|
|
140
141
|
interface HTMLCollectionOf<T extends Element> {
|
|
141
|
-
[Symbol.iterator]():
|
|
142
|
+
[Symbol.iterator](): IterableIterator<T>;
|
|
142
143
|
}
|
|
143
144
|
|
|
144
145
|
interface HTMLFormElement {
|
|
145
|
-
[Symbol.iterator]():
|
|
146
|
+
[Symbol.iterator](): IterableIterator<Element>;
|
|
146
147
|
}
|
|
147
148
|
|
|
148
149
|
interface HTMLSelectElement {
|
|
149
|
-
[Symbol.iterator]():
|
|
150
|
-
}
|
|
151
|
-
|
|
152
|
-
interface HeadersIterator<T> extends IteratorObject<T, BuiltinIteratorReturn, unknown> {
|
|
153
|
-
[Symbol.iterator](): HeadersIterator<T>;
|
|
150
|
+
[Symbol.iterator](): IterableIterator<HTMLOptionElement>;
|
|
154
151
|
}
|
|
155
152
|
|
|
156
153
|
interface Headers {
|
|
157
|
-
[Symbol.iterator]():
|
|
154
|
+
[Symbol.iterator](): IterableIterator<[string, string]>;
|
|
158
155
|
/** Returns an iterator allowing to go through all key/value pairs contained in this object. */
|
|
159
|
-
entries():
|
|
156
|
+
entries(): IterableIterator<[string, string]>;
|
|
160
157
|
/** Returns an iterator allowing to go through all keys of the key/value pairs contained in this object. */
|
|
161
|
-
keys():
|
|
158
|
+
keys(): IterableIterator<string>;
|
|
162
159
|
/** Returns an iterator allowing to go through all values of the key/value pairs contained in this object. */
|
|
163
|
-
values():
|
|
160
|
+
values(): IterableIterator<string>;
|
|
164
161
|
}
|
|
165
162
|
|
|
166
163
|
interface Highlight extends Set<AbstractRange> {
|
|
@@ -189,10 +186,6 @@ interface IDBObjectStore {
|
|
|
189
186
|
createIndex(name: string, keyPath: string | Iterable<string>, options?: IDBIndexParameters): IDBIndex;
|
|
190
187
|
}
|
|
191
188
|
|
|
192
|
-
interface ImageTrackList {
|
|
193
|
-
[Symbol.iterator](): ArrayIterator<ImageTrack>;
|
|
194
|
-
}
|
|
195
|
-
|
|
196
189
|
interface MIDIInputMap extends ReadonlyMap<string, MIDIInput> {
|
|
197
190
|
}
|
|
198
191
|
|
|
@@ -204,32 +197,32 @@ interface MIDIOutput {
|
|
|
204
197
|
interface MIDIOutputMap extends ReadonlyMap<string, MIDIOutput> {
|
|
205
198
|
}
|
|
206
199
|
|
|
207
|
-
interface MediaKeyStatusMapIterator<T> extends IteratorObject<T, BuiltinIteratorReturn, unknown> {
|
|
208
|
-
[Symbol.iterator](): MediaKeyStatusMapIterator<T>;
|
|
209
|
-
}
|
|
210
|
-
|
|
211
200
|
interface MediaKeyStatusMap {
|
|
212
|
-
[Symbol.iterator]():
|
|
213
|
-
entries():
|
|
214
|
-
keys():
|
|
215
|
-
values():
|
|
201
|
+
[Symbol.iterator](): IterableIterator<[BufferSource, MediaKeyStatus]>;
|
|
202
|
+
entries(): IterableIterator<[BufferSource, MediaKeyStatus]>;
|
|
203
|
+
keys(): IterableIterator<BufferSource>;
|
|
204
|
+
values(): IterableIterator<MediaKeyStatus>;
|
|
216
205
|
}
|
|
217
206
|
|
|
218
207
|
interface MediaList {
|
|
219
|
-
[Symbol.iterator]():
|
|
208
|
+
[Symbol.iterator](): IterableIterator<string>;
|
|
220
209
|
}
|
|
221
210
|
|
|
222
211
|
interface MessageEvent<T = any> {
|
|
223
|
-
/**
|
|
212
|
+
/**
|
|
213
|
+
* @deprecated
|
|
214
|
+
*
|
|
215
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/MessageEvent/initMessageEvent)
|
|
216
|
+
*/
|
|
224
217
|
initMessageEvent(type: string, bubbles?: boolean, cancelable?: boolean, data?: any, origin?: string, lastEventId?: string, source?: MessageEventSource | null, ports?: Iterable<MessagePort>): void;
|
|
225
218
|
}
|
|
226
219
|
|
|
227
220
|
interface MimeTypeArray {
|
|
228
|
-
[Symbol.iterator]():
|
|
221
|
+
[Symbol.iterator](): IterableIterator<MimeType>;
|
|
229
222
|
}
|
|
230
223
|
|
|
231
224
|
interface NamedNodeMap {
|
|
232
|
-
[Symbol.iterator]():
|
|
225
|
+
[Symbol.iterator](): IterableIterator<Attr>;
|
|
233
226
|
}
|
|
234
227
|
|
|
235
228
|
interface Navigator {
|
|
@@ -244,93 +237,89 @@ interface Navigator {
|
|
|
244
237
|
}
|
|
245
238
|
|
|
246
239
|
interface NodeList {
|
|
247
|
-
[Symbol.iterator]():
|
|
240
|
+
[Symbol.iterator](): IterableIterator<Node>;
|
|
248
241
|
/** Returns an array of key, value pairs for every entry in the list. */
|
|
249
|
-
entries():
|
|
242
|
+
entries(): IterableIterator<[number, Node]>;
|
|
250
243
|
/** Returns an list of keys in the list. */
|
|
251
|
-
keys():
|
|
244
|
+
keys(): IterableIterator<number>;
|
|
252
245
|
/** Returns an list of values in the list. */
|
|
253
|
-
values():
|
|
246
|
+
values(): IterableIterator<Node>;
|
|
254
247
|
}
|
|
255
248
|
|
|
256
249
|
interface NodeListOf<TNode extends Node> {
|
|
257
|
-
[Symbol.iterator]():
|
|
250
|
+
[Symbol.iterator](): IterableIterator<TNode>;
|
|
258
251
|
/** Returns an array of key, value pairs for every entry in the list. */
|
|
259
|
-
entries():
|
|
252
|
+
entries(): IterableIterator<[number, TNode]>;
|
|
260
253
|
/** Returns an list of keys in the list. */
|
|
261
|
-
keys():
|
|
254
|
+
keys(): IterableIterator<number>;
|
|
262
255
|
/** Returns an list of values in the list. */
|
|
263
|
-
values():
|
|
256
|
+
values(): IterableIterator<TNode>;
|
|
264
257
|
}
|
|
265
258
|
|
|
266
259
|
interface Plugin {
|
|
267
|
-
[Symbol.iterator]():
|
|
260
|
+
[Symbol.iterator](): IterableIterator<MimeType>;
|
|
268
261
|
}
|
|
269
262
|
|
|
270
263
|
interface PluginArray {
|
|
271
|
-
[Symbol.iterator]():
|
|
264
|
+
[Symbol.iterator](): IterableIterator<Plugin>;
|
|
272
265
|
}
|
|
273
266
|
|
|
274
267
|
interface RTCRtpTransceiver {
|
|
275
268
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/RTCRtpTransceiver/setCodecPreferences) */
|
|
276
|
-
setCodecPreferences(codecs: Iterable<
|
|
269
|
+
setCodecPreferences(codecs: Iterable<RTCRtpCodecCapability>): void;
|
|
277
270
|
}
|
|
278
271
|
|
|
279
272
|
interface RTCStatsReport extends ReadonlyMap<string, any> {
|
|
280
273
|
}
|
|
281
274
|
|
|
282
275
|
interface SVGLengthList {
|
|
283
|
-
[Symbol.iterator]():
|
|
276
|
+
[Symbol.iterator](): IterableIterator<SVGLength>;
|
|
284
277
|
}
|
|
285
278
|
|
|
286
279
|
interface SVGNumberList {
|
|
287
|
-
[Symbol.iterator]():
|
|
280
|
+
[Symbol.iterator](): IterableIterator<SVGNumber>;
|
|
288
281
|
}
|
|
289
282
|
|
|
290
283
|
interface SVGPointList {
|
|
291
|
-
[Symbol.iterator]():
|
|
284
|
+
[Symbol.iterator](): IterableIterator<DOMPoint>;
|
|
292
285
|
}
|
|
293
286
|
|
|
294
287
|
interface SVGStringList {
|
|
295
|
-
[Symbol.iterator]():
|
|
288
|
+
[Symbol.iterator](): IterableIterator<string>;
|
|
296
289
|
}
|
|
297
290
|
|
|
298
291
|
interface SVGTransformList {
|
|
299
|
-
[Symbol.iterator]():
|
|
292
|
+
[Symbol.iterator](): IterableIterator<SVGTransform>;
|
|
300
293
|
}
|
|
301
294
|
|
|
302
295
|
interface SourceBufferList {
|
|
303
|
-
[Symbol.iterator]():
|
|
296
|
+
[Symbol.iterator](): IterableIterator<SourceBuffer>;
|
|
304
297
|
}
|
|
305
298
|
|
|
306
299
|
interface SpeechRecognitionResult {
|
|
307
|
-
[Symbol.iterator]():
|
|
300
|
+
[Symbol.iterator](): IterableIterator<SpeechRecognitionAlternative>;
|
|
308
301
|
}
|
|
309
302
|
|
|
310
303
|
interface SpeechRecognitionResultList {
|
|
311
|
-
[Symbol.iterator]():
|
|
312
|
-
}
|
|
313
|
-
|
|
314
|
-
interface StylePropertyMapReadOnlyIterator<T> extends IteratorObject<T, BuiltinIteratorReturn, unknown> {
|
|
315
|
-
[Symbol.iterator](): StylePropertyMapReadOnlyIterator<T>;
|
|
304
|
+
[Symbol.iterator](): IterableIterator<SpeechRecognitionResult>;
|
|
316
305
|
}
|
|
317
306
|
|
|
318
307
|
interface StylePropertyMapReadOnly {
|
|
319
|
-
[Symbol.iterator]():
|
|
320
|
-
entries():
|
|
321
|
-
keys():
|
|
322
|
-
values():
|
|
308
|
+
[Symbol.iterator](): IterableIterator<[string, Iterable<CSSStyleValue>]>;
|
|
309
|
+
entries(): IterableIterator<[string, Iterable<CSSStyleValue>]>;
|
|
310
|
+
keys(): IterableIterator<string>;
|
|
311
|
+
values(): IterableIterator<Iterable<CSSStyleValue>>;
|
|
323
312
|
}
|
|
324
313
|
|
|
325
314
|
interface StyleSheetList {
|
|
326
|
-
[Symbol.iterator]():
|
|
315
|
+
[Symbol.iterator](): IterableIterator<CSSStyleSheet>;
|
|
327
316
|
}
|
|
328
317
|
|
|
329
318
|
interface SubtleCrypto {
|
|
330
319
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/SubtleCrypto/deriveKey) */
|
|
331
320
|
deriveKey(algorithm: AlgorithmIdentifier | EcdhKeyDeriveParams | HkdfParams | Pbkdf2Params, baseKey: CryptoKey, derivedKeyType: AlgorithmIdentifier | AesDerivedKeyParams | HmacImportParams | HkdfParams | Pbkdf2Params, extractable: boolean, keyUsages: Iterable<KeyUsage>): Promise<CryptoKey>;
|
|
332
321
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/SubtleCrypto/generateKey) */
|
|
333
|
-
generateKey(algorithm: "Ed25519"
|
|
322
|
+
generateKey(algorithm: "Ed25519", extractable: boolean, keyUsages: ReadonlyArray<"sign" | "verify">): Promise<CryptoKeyPair>;
|
|
334
323
|
generateKey(algorithm: RsaHashedKeyGenParams | EcKeyGenParams, extractable: boolean, keyUsages: ReadonlyArray<KeyUsage>): Promise<CryptoKeyPair>;
|
|
335
324
|
generateKey(algorithm: AesKeyGenParams | HmacKeyGenParams | Pbkdf2Params, extractable: boolean, keyUsages: ReadonlyArray<KeyUsage>): Promise<CryptoKey>;
|
|
336
325
|
generateKey(algorithm: AlgorithmIdentifier, extractable: boolean, keyUsages: Iterable<KeyUsage>): Promise<CryptoKeyPair | CryptoKey>;
|
|
@@ -342,32 +331,25 @@ interface SubtleCrypto {
|
|
|
342
331
|
}
|
|
343
332
|
|
|
344
333
|
interface TextTrackCueList {
|
|
345
|
-
[Symbol.iterator]():
|
|
334
|
+
[Symbol.iterator](): IterableIterator<TextTrackCue>;
|
|
346
335
|
}
|
|
347
336
|
|
|
348
337
|
interface TextTrackList {
|
|
349
|
-
[Symbol.iterator]():
|
|
338
|
+
[Symbol.iterator](): IterableIterator<TextTrack>;
|
|
350
339
|
}
|
|
351
340
|
|
|
352
341
|
interface TouchList {
|
|
353
|
-
[Symbol.iterator]():
|
|
354
|
-
}
|
|
355
|
-
|
|
356
|
-
interface URLSearchParamsIterator<T> extends IteratorObject<T, BuiltinIteratorReturn, unknown> {
|
|
357
|
-
[Symbol.iterator](): URLSearchParamsIterator<T>;
|
|
342
|
+
[Symbol.iterator](): IterableIterator<Touch>;
|
|
358
343
|
}
|
|
359
344
|
|
|
360
345
|
interface URLSearchParams {
|
|
361
|
-
[Symbol.iterator]():
|
|
346
|
+
[Symbol.iterator](): IterableIterator<[string, string]>;
|
|
362
347
|
/** Returns an array of key, value pairs for every entry in the search params. */
|
|
363
|
-
entries():
|
|
348
|
+
entries(): IterableIterator<[string, string]>;
|
|
364
349
|
/** Returns a list of keys in the search params. */
|
|
365
|
-
keys():
|
|
350
|
+
keys(): IterableIterator<string>;
|
|
366
351
|
/** Returns a list of values in the search params. */
|
|
367
|
-
values():
|
|
368
|
-
}
|
|
369
|
-
|
|
370
|
-
interface ViewTransitionTypeSet extends Set<string> {
|
|
352
|
+
values(): IterableIterator<string>;
|
|
371
353
|
}
|
|
372
354
|
|
|
373
355
|
interface WEBGL_draw_buffers {
|
|
@@ -448,7 +430,7 @@ interface WebGL2RenderingContextOverloads {
|
|
|
448
430
|
uniform4fv(location: WebGLUniformLocation | null, data: Iterable<GLfloat>, srcOffset?: number, srcLength?: GLuint): void;
|
|
449
431
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/uniform) */
|
|
450
432
|
uniform4iv(location: WebGLUniformLocation | null, data: Iterable<GLint>, srcOffset?: number, srcLength?: GLuint): void;
|
|
451
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/
|
|
433
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/uniformMatrix) */
|
|
452
434
|
uniformMatrix2fv(location: WebGLUniformLocation | null, transpose: GLboolean, data: Iterable<GLfloat>, srcOffset?: number, srcLength?: GLuint): void;
|
|
453
435
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/uniformMatrix) */
|
|
454
436
|
uniformMatrix3fv(location: WebGLUniformLocation | null, transpose: GLboolean, data: Iterable<GLfloat>, srcOffset?: number, srcLength?: GLuint): void;
|
|
@@ -560,38 +560,38 @@ interface StringConstructor {
|
|
|
560
560
|
raw(template: { raw: readonly string[] | ArrayLike<string>; }, ...substitutions: any[]): string;
|
|
561
561
|
}
|
|
562
562
|
|
|
563
|
-
interface Int8Array
|
|
563
|
+
interface Int8Array {
|
|
564
564
|
toLocaleString(locales: string | string[], options?: Intl.NumberFormatOptions): string;
|
|
565
565
|
}
|
|
566
566
|
|
|
567
|
-
interface Uint8Array
|
|
567
|
+
interface Uint8Array {
|
|
568
568
|
toLocaleString(locales: string | string[], options?: Intl.NumberFormatOptions): string;
|
|
569
569
|
}
|
|
570
570
|
|
|
571
|
-
interface Uint8ClampedArray
|
|
571
|
+
interface Uint8ClampedArray {
|
|
572
572
|
toLocaleString(locales: string | string[], options?: Intl.NumberFormatOptions): string;
|
|
573
573
|
}
|
|
574
574
|
|
|
575
|
-
interface Int16Array
|
|
575
|
+
interface Int16Array {
|
|
576
576
|
toLocaleString(locales: string | string[], options?: Intl.NumberFormatOptions): string;
|
|
577
577
|
}
|
|
578
578
|
|
|
579
|
-
interface Uint16Array
|
|
579
|
+
interface Uint16Array {
|
|
580
580
|
toLocaleString(locales: string | string[], options?: Intl.NumberFormatOptions): string;
|
|
581
581
|
}
|
|
582
582
|
|
|
583
|
-
interface Int32Array
|
|
583
|
+
interface Int32Array {
|
|
584
584
|
toLocaleString(locales: string | string[], options?: Intl.NumberFormatOptions): string;
|
|
585
585
|
}
|
|
586
586
|
|
|
587
|
-
interface Uint32Array
|
|
587
|
+
interface Uint32Array {
|
|
588
588
|
toLocaleString(locales: string | string[], options?: Intl.NumberFormatOptions): string;
|
|
589
589
|
}
|
|
590
590
|
|
|
591
|
-
interface Float32Array
|
|
591
|
+
interface Float32Array {
|
|
592
592
|
toLocaleString(locales: string | string[], options?: Intl.NumberFormatOptions): string;
|
|
593
593
|
}
|
|
594
594
|
|
|
595
|
-
interface Float64Array
|
|
595
|
+
interface Float64Array {
|
|
596
596
|
toLocaleString(locales: string | string[], options?: Intl.NumberFormatOptions): string;
|
|
597
597
|
}
|
|
@@ -18,9 +18,9 @@ and limitations under the License.
|
|
|
18
18
|
|
|
19
19
|
/// <reference lib="es2015.iterable" />
|
|
20
20
|
|
|
21
|
-
interface Generator<T = unknown, TReturn = any, TNext =
|
|
21
|
+
interface Generator<T = unknown, TReturn = any, TNext = unknown> extends Iterator<T, TReturn, TNext> {
|
|
22
22
|
// NOTE: 'next' is defined using a tuple to ensure we report the correct assignability errors in all places.
|
|
23
|
-
next(...
|
|
23
|
+
next(...args: [] | [TNext]): IteratorResult<T, TReturn>;
|
|
24
24
|
return(value: TReturn): IteratorResult<T, TReturn>;
|
|
25
25
|
throw(e: any): IteratorResult<T, TReturn>;
|
|
26
26
|
[Symbol.iterator](): Generator<T, TReturn, TNext>;
|