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