typescript 6.0.0-dev.20251001 → 6.0.0-dev.20251003
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/lib/_tsc.js +1 -1
- package/lib/lib.dom.asynciterable.d.ts +2 -23
- package/lib/lib.dom.d.ts +2217 -873
- package/lib/lib.dom.iterable.d.ts +2 -553
- package/lib/lib.webworker.asynciterable.d.ts +2 -23
- package/lib/lib.webworker.d.ts +948 -328
- package/lib/lib.webworker.iterable.d.ts +2 -322
- package/lib/typescript.js +1 -1
- package/package.json +2 -2
@@ -14,556 +14,5 @@ and limitations under the License.
|
|
14
14
|
***************************************************************************** */
|
15
15
|
|
16
16
|
|
17
|
-
|
18
|
-
|
19
|
-
/////////////////////////////
|
20
|
-
|
21
|
-
interface AudioParam {
|
22
|
-
/**
|
23
|
-
* The **`setValueCurveAtTime()`** method of the following a curve defined by a list of values.
|
24
|
-
*
|
25
|
-
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/AudioParam/setValueCurveAtTime)
|
26
|
-
*/
|
27
|
-
setValueCurveAtTime(values: Iterable<number>, startTime: number, duration: number): AudioParam;
|
28
|
-
}
|
29
|
-
|
30
|
-
interface AudioParamMap extends ReadonlyMap<string, AudioParam> {
|
31
|
-
}
|
32
|
-
|
33
|
-
interface BaseAudioContext {
|
34
|
-
/**
|
35
|
-
* The **`createIIRFilter()`** method of the BaseAudioContext interface creates an IIRFilterNode, which represents a general **infinite impulse response** (IIR) filter which can be configured to serve as various types of filter.
|
36
|
-
*
|
37
|
-
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/BaseAudioContext/createIIRFilter)
|
38
|
-
*/
|
39
|
-
createIIRFilter(feedforward: Iterable<number>, feedback: Iterable<number>): IIRFilterNode;
|
40
|
-
/**
|
41
|
-
* The `createPeriodicWave()` method of the BaseAudioContext interface is used to create a PeriodicWave.
|
42
|
-
*
|
43
|
-
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/BaseAudioContext/createPeriodicWave)
|
44
|
-
*/
|
45
|
-
createPeriodicWave(real: Iterable<number>, imag: Iterable<number>, constraints?: PeriodicWaveConstraints): PeriodicWave;
|
46
|
-
}
|
47
|
-
|
48
|
-
interface CSSKeyframesRule {
|
49
|
-
[Symbol.iterator](): ArrayIterator<CSSKeyframeRule>;
|
50
|
-
}
|
51
|
-
|
52
|
-
interface CSSNumericArray {
|
53
|
-
[Symbol.iterator](): ArrayIterator<CSSNumericValue>;
|
54
|
-
entries(): ArrayIterator<[number, CSSNumericValue]>;
|
55
|
-
keys(): ArrayIterator<number>;
|
56
|
-
values(): ArrayIterator<CSSNumericValue>;
|
57
|
-
}
|
58
|
-
|
59
|
-
interface CSSRuleList {
|
60
|
-
[Symbol.iterator](): ArrayIterator<CSSRule>;
|
61
|
-
}
|
62
|
-
|
63
|
-
interface CSSStyleDeclaration {
|
64
|
-
[Symbol.iterator](): ArrayIterator<string>;
|
65
|
-
}
|
66
|
-
|
67
|
-
interface CSSTransformValue {
|
68
|
-
[Symbol.iterator](): ArrayIterator<CSSTransformComponent>;
|
69
|
-
entries(): ArrayIterator<[number, CSSTransformComponent]>;
|
70
|
-
keys(): ArrayIterator<number>;
|
71
|
-
values(): ArrayIterator<CSSTransformComponent>;
|
72
|
-
}
|
73
|
-
|
74
|
-
interface CSSUnparsedValue {
|
75
|
-
[Symbol.iterator](): ArrayIterator<CSSUnparsedSegment>;
|
76
|
-
entries(): ArrayIterator<[number, CSSUnparsedSegment]>;
|
77
|
-
keys(): ArrayIterator<number>;
|
78
|
-
values(): ArrayIterator<CSSUnparsedSegment>;
|
79
|
-
}
|
80
|
-
|
81
|
-
interface Cache {
|
82
|
-
/**
|
83
|
-
* The **`addAll()`** method of the Cache interface takes an array of URLs, retrieves them, and adds the resulting response objects to the given cache.
|
84
|
-
*
|
85
|
-
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Cache/addAll)
|
86
|
-
*/
|
87
|
-
addAll(requests: Iterable<RequestInfo>): Promise<void>;
|
88
|
-
}
|
89
|
-
|
90
|
-
interface CanvasPath {
|
91
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CanvasRenderingContext2D/roundRect) */
|
92
|
-
roundRect(x: number, y: number, w: number, h: number, radii?: number | DOMPointInit | Iterable<number | DOMPointInit>): void;
|
93
|
-
}
|
94
|
-
|
95
|
-
interface CanvasPathDrawingStyles {
|
96
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CanvasRenderingContext2D/setLineDash) */
|
97
|
-
setLineDash(segments: Iterable<number>): void;
|
98
|
-
}
|
99
|
-
|
100
|
-
interface CookieStoreManager {
|
101
|
-
/**
|
102
|
-
* The **`subscribe()`** method of the CookieStoreManager interface subscribes a ServiceWorkerRegistration to cookie change events.
|
103
|
-
*
|
104
|
-
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CookieStoreManager/subscribe)
|
105
|
-
*/
|
106
|
-
subscribe(subscriptions: Iterable<CookieStoreGetOptions>): Promise<void>;
|
107
|
-
/**
|
108
|
-
* The **`unsubscribe()`** method of the CookieStoreManager interface stops the ServiceWorkerRegistration from receiving previously subscribed events.
|
109
|
-
*
|
110
|
-
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CookieStoreManager/unsubscribe)
|
111
|
-
*/
|
112
|
-
unsubscribe(subscriptions: Iterable<CookieStoreGetOptions>): Promise<void>;
|
113
|
-
}
|
114
|
-
|
115
|
-
interface CustomStateSet extends Set<string> {
|
116
|
-
}
|
117
|
-
|
118
|
-
interface DOMRectList {
|
119
|
-
[Symbol.iterator](): ArrayIterator<DOMRect>;
|
120
|
-
}
|
121
|
-
|
122
|
-
interface DOMStringList {
|
123
|
-
[Symbol.iterator](): ArrayIterator<string>;
|
124
|
-
}
|
125
|
-
|
126
|
-
interface DOMTokenList {
|
127
|
-
[Symbol.iterator](): ArrayIterator<string>;
|
128
|
-
entries(): ArrayIterator<[number, string]>;
|
129
|
-
keys(): ArrayIterator<number>;
|
130
|
-
values(): ArrayIterator<string>;
|
131
|
-
}
|
132
|
-
|
133
|
-
interface DataTransferItemList {
|
134
|
-
[Symbol.iterator](): ArrayIterator<DataTransferItem>;
|
135
|
-
}
|
136
|
-
|
137
|
-
interface EventCounts extends ReadonlyMap<string, number> {
|
138
|
-
}
|
139
|
-
|
140
|
-
interface FileList {
|
141
|
-
[Symbol.iterator](): ArrayIterator<File>;
|
142
|
-
}
|
143
|
-
|
144
|
-
interface FontFaceSet extends Set<FontFace> {
|
145
|
-
}
|
146
|
-
|
147
|
-
interface FormDataIterator<T> extends IteratorObject<T, BuiltinIteratorReturn, unknown> {
|
148
|
-
[Symbol.iterator](): FormDataIterator<T>;
|
149
|
-
}
|
150
|
-
|
151
|
-
interface FormData {
|
152
|
-
[Symbol.iterator](): FormDataIterator<[string, FormDataEntryValue]>;
|
153
|
-
/** Returns an array of key, value pairs for every entry in the list. */
|
154
|
-
entries(): FormDataIterator<[string, FormDataEntryValue]>;
|
155
|
-
/** Returns a list of keys in the list. */
|
156
|
-
keys(): FormDataIterator<string>;
|
157
|
-
/** Returns a list of values in the list. */
|
158
|
-
values(): FormDataIterator<FormDataEntryValue>;
|
159
|
-
}
|
160
|
-
|
161
|
-
interface HTMLAllCollection {
|
162
|
-
[Symbol.iterator](): ArrayIterator<Element>;
|
163
|
-
}
|
164
|
-
|
165
|
-
interface HTMLCollectionBase {
|
166
|
-
[Symbol.iterator](): ArrayIterator<Element>;
|
167
|
-
}
|
168
|
-
|
169
|
-
interface HTMLCollectionOf<T extends Element> {
|
170
|
-
[Symbol.iterator](): ArrayIterator<T>;
|
171
|
-
}
|
172
|
-
|
173
|
-
interface HTMLFormElement {
|
174
|
-
[Symbol.iterator](): ArrayIterator<Element>;
|
175
|
-
}
|
176
|
-
|
177
|
-
interface HTMLSelectElement {
|
178
|
-
[Symbol.iterator](): ArrayIterator<HTMLOptionElement>;
|
179
|
-
}
|
180
|
-
|
181
|
-
interface HeadersIterator<T> extends IteratorObject<T, BuiltinIteratorReturn, unknown> {
|
182
|
-
[Symbol.iterator](): HeadersIterator<T>;
|
183
|
-
}
|
184
|
-
|
185
|
-
interface Headers {
|
186
|
-
[Symbol.iterator](): HeadersIterator<[string, string]>;
|
187
|
-
/** Returns an iterator allowing to go through all key/value pairs contained in this object. */
|
188
|
-
entries(): HeadersIterator<[string, string]>;
|
189
|
-
/** Returns an iterator allowing to go through all keys of the key/value pairs contained in this object. */
|
190
|
-
keys(): HeadersIterator<string>;
|
191
|
-
/** Returns an iterator allowing to go through all values of the key/value pairs contained in this object. */
|
192
|
-
values(): HeadersIterator<string>;
|
193
|
-
}
|
194
|
-
|
195
|
-
interface Highlight extends Set<AbstractRange> {
|
196
|
-
}
|
197
|
-
|
198
|
-
interface HighlightRegistry extends Map<string, Highlight> {
|
199
|
-
}
|
200
|
-
|
201
|
-
interface IDBDatabase {
|
202
|
-
/**
|
203
|
-
* The **`transaction`** method of the IDBDatabase interface immediately returns a transaction object (IDBTransaction) containing the IDBTransaction.objectStore method, which you can use to access your object store.
|
204
|
-
*
|
205
|
-
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/IDBDatabase/transaction)
|
206
|
-
*/
|
207
|
-
transaction(storeNames: string | Iterable<string>, mode?: IDBTransactionMode, options?: IDBTransactionOptions): IDBTransaction;
|
208
|
-
}
|
209
|
-
|
210
|
-
interface IDBObjectStore {
|
211
|
-
/**
|
212
|
-
* The **`createIndex()`** method of the field/column defining a new data point for each database record to contain.
|
213
|
-
*
|
214
|
-
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/IDBObjectStore/createIndex)
|
215
|
-
*/
|
216
|
-
createIndex(name: string, keyPath: string | Iterable<string>, options?: IDBIndexParameters): IDBIndex;
|
217
|
-
}
|
218
|
-
|
219
|
-
interface ImageTrackList {
|
220
|
-
[Symbol.iterator](): ArrayIterator<ImageTrack>;
|
221
|
-
}
|
222
|
-
|
223
|
-
interface MIDIInputMap extends ReadonlyMap<string, MIDIInput> {
|
224
|
-
}
|
225
|
-
|
226
|
-
interface MIDIOutput {
|
227
|
-
/**
|
228
|
-
* The **`send()`** method of the MIDIOutput interface queues messages for the corresponding MIDI port.
|
229
|
-
*
|
230
|
-
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/MIDIOutput/send)
|
231
|
-
*/
|
232
|
-
send(data: Iterable<number>, timestamp?: DOMHighResTimeStamp): void;
|
233
|
-
}
|
234
|
-
|
235
|
-
interface MIDIOutputMap extends ReadonlyMap<string, MIDIOutput> {
|
236
|
-
}
|
237
|
-
|
238
|
-
interface MediaKeyStatusMapIterator<T> extends IteratorObject<T, BuiltinIteratorReturn, unknown> {
|
239
|
-
[Symbol.iterator](): MediaKeyStatusMapIterator<T>;
|
240
|
-
}
|
241
|
-
|
242
|
-
interface MediaKeyStatusMap {
|
243
|
-
[Symbol.iterator](): MediaKeyStatusMapIterator<[BufferSource, MediaKeyStatus]>;
|
244
|
-
entries(): MediaKeyStatusMapIterator<[BufferSource, MediaKeyStatus]>;
|
245
|
-
keys(): MediaKeyStatusMapIterator<BufferSource>;
|
246
|
-
values(): MediaKeyStatusMapIterator<MediaKeyStatus>;
|
247
|
-
}
|
248
|
-
|
249
|
-
interface MediaList {
|
250
|
-
[Symbol.iterator](): ArrayIterator<string>;
|
251
|
-
}
|
252
|
-
|
253
|
-
interface MessageEvent<T = any> {
|
254
|
-
/** @deprecated */
|
255
|
-
initMessageEvent(type: string, bubbles?: boolean, cancelable?: boolean, data?: any, origin?: string, lastEventId?: string, source?: MessageEventSource | null, ports?: Iterable<MessagePort>): void;
|
256
|
-
}
|
257
|
-
|
258
|
-
interface MimeTypeArray {
|
259
|
-
[Symbol.iterator](): ArrayIterator<MimeType>;
|
260
|
-
}
|
261
|
-
|
262
|
-
interface NamedNodeMap {
|
263
|
-
[Symbol.iterator](): ArrayIterator<Attr>;
|
264
|
-
}
|
265
|
-
|
266
|
-
interface Navigator {
|
267
|
-
/**
|
268
|
-
* The **`requestMediaKeySystemAccess()`** method of the Navigator interface returns a Promise which delivers a MediaKeySystemAccess object that can be used to access a particular media key system, which can in turn be used to create keys for decrypting a media stream.
|
269
|
-
* Available only in secure contexts.
|
270
|
-
*
|
271
|
-
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Navigator/requestMediaKeySystemAccess)
|
272
|
-
*/
|
273
|
-
requestMediaKeySystemAccess(keySystem: string, supportedConfigurations: Iterable<MediaKeySystemConfiguration>): Promise<MediaKeySystemAccess>;
|
274
|
-
/**
|
275
|
-
* The **`vibrate()`** method of the Navigator interface pulses the vibration hardware on the device, if such hardware exists.
|
276
|
-
*
|
277
|
-
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Navigator/vibrate)
|
278
|
-
*/
|
279
|
-
vibrate(pattern: Iterable<number>): boolean;
|
280
|
-
}
|
281
|
-
|
282
|
-
interface NodeList {
|
283
|
-
[Symbol.iterator](): ArrayIterator<Node>;
|
284
|
-
/** Returns an array of key, value pairs for every entry in the list. */
|
285
|
-
entries(): ArrayIterator<[number, Node]>;
|
286
|
-
/** Returns an list of keys in the list. */
|
287
|
-
keys(): ArrayIterator<number>;
|
288
|
-
/** Returns an list of values in the list. */
|
289
|
-
values(): ArrayIterator<Node>;
|
290
|
-
}
|
291
|
-
|
292
|
-
interface NodeListOf<TNode extends Node> {
|
293
|
-
[Symbol.iterator](): ArrayIterator<TNode>;
|
294
|
-
/** Returns an array of key, value pairs for every entry in the list. */
|
295
|
-
entries(): ArrayIterator<[number, TNode]>;
|
296
|
-
/** Returns an list of keys in the list. */
|
297
|
-
keys(): ArrayIterator<number>;
|
298
|
-
/** Returns an list of values in the list. */
|
299
|
-
values(): ArrayIterator<TNode>;
|
300
|
-
}
|
301
|
-
|
302
|
-
interface Plugin {
|
303
|
-
[Symbol.iterator](): ArrayIterator<MimeType>;
|
304
|
-
}
|
305
|
-
|
306
|
-
interface PluginArray {
|
307
|
-
[Symbol.iterator](): ArrayIterator<Plugin>;
|
308
|
-
}
|
309
|
-
|
310
|
-
interface RTCRtpTransceiver {
|
311
|
-
/**
|
312
|
-
* The **`setCodecPreferences()`** method of the RTCRtpTransceiver interface is used to set the codecs that the transceiver allows for decoding _received_ data, in order of decreasing preference.
|
313
|
-
*
|
314
|
-
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/RTCRtpTransceiver/setCodecPreferences)
|
315
|
-
*/
|
316
|
-
setCodecPreferences(codecs: Iterable<RTCRtpCodec>): void;
|
317
|
-
}
|
318
|
-
|
319
|
-
interface RTCStatsReport extends ReadonlyMap<string, any> {
|
320
|
-
}
|
321
|
-
|
322
|
-
interface SVGLengthList {
|
323
|
-
[Symbol.iterator](): ArrayIterator<SVGLength>;
|
324
|
-
}
|
325
|
-
|
326
|
-
interface SVGNumberList {
|
327
|
-
[Symbol.iterator](): ArrayIterator<SVGNumber>;
|
328
|
-
}
|
329
|
-
|
330
|
-
interface SVGPointList {
|
331
|
-
[Symbol.iterator](): ArrayIterator<DOMPoint>;
|
332
|
-
}
|
333
|
-
|
334
|
-
interface SVGStringList {
|
335
|
-
[Symbol.iterator](): ArrayIterator<string>;
|
336
|
-
}
|
337
|
-
|
338
|
-
interface SVGTransformList {
|
339
|
-
[Symbol.iterator](): ArrayIterator<SVGTransform>;
|
340
|
-
}
|
341
|
-
|
342
|
-
interface SourceBufferList {
|
343
|
-
[Symbol.iterator](): ArrayIterator<SourceBuffer>;
|
344
|
-
}
|
345
|
-
|
346
|
-
interface SpeechRecognitionResult {
|
347
|
-
[Symbol.iterator](): ArrayIterator<SpeechRecognitionAlternative>;
|
348
|
-
}
|
349
|
-
|
350
|
-
interface SpeechRecognitionResultList {
|
351
|
-
[Symbol.iterator](): ArrayIterator<SpeechRecognitionResult>;
|
352
|
-
}
|
353
|
-
|
354
|
-
interface StylePropertyMapReadOnlyIterator<T> extends IteratorObject<T, BuiltinIteratorReturn, unknown> {
|
355
|
-
[Symbol.iterator](): StylePropertyMapReadOnlyIterator<T>;
|
356
|
-
}
|
357
|
-
|
358
|
-
interface StylePropertyMapReadOnly {
|
359
|
-
[Symbol.iterator](): StylePropertyMapReadOnlyIterator<[string, Iterable<CSSStyleValue>]>;
|
360
|
-
entries(): StylePropertyMapReadOnlyIterator<[string, Iterable<CSSStyleValue>]>;
|
361
|
-
keys(): StylePropertyMapReadOnlyIterator<string>;
|
362
|
-
values(): StylePropertyMapReadOnlyIterator<Iterable<CSSStyleValue>>;
|
363
|
-
}
|
364
|
-
|
365
|
-
interface StyleSheetList {
|
366
|
-
[Symbol.iterator](): ArrayIterator<CSSStyleSheet>;
|
367
|
-
}
|
368
|
-
|
369
|
-
interface SubtleCrypto {
|
370
|
-
/**
|
371
|
-
* The **`deriveKey()`** method of the SubtleCrypto interface can be used to derive a secret key from a master key.
|
372
|
-
*
|
373
|
-
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/SubtleCrypto/deriveKey)
|
374
|
-
*/
|
375
|
-
deriveKey(algorithm: AlgorithmIdentifier | EcdhKeyDeriveParams | HkdfParams | Pbkdf2Params, baseKey: CryptoKey, derivedKeyType: AlgorithmIdentifier | AesDerivedKeyParams | HmacImportParams | HkdfParams | Pbkdf2Params, extractable: boolean, keyUsages: Iterable<KeyUsage>): Promise<CryptoKey>;
|
376
|
-
/**
|
377
|
-
* The **`generateKey()`** method of the SubtleCrypto interface is used to generate a new key (for symmetric algorithms) or key pair (for public-key algorithms).
|
378
|
-
*
|
379
|
-
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/SubtleCrypto/generateKey)
|
380
|
-
*/
|
381
|
-
generateKey(algorithm: "Ed25519" | { name: "Ed25519" }, extractable: boolean, keyUsages: ReadonlyArray<"sign" | "verify">): Promise<CryptoKeyPair>;
|
382
|
-
generateKey(algorithm: RsaHashedKeyGenParams | EcKeyGenParams, extractable: boolean, keyUsages: ReadonlyArray<KeyUsage>): Promise<CryptoKeyPair>;
|
383
|
-
generateKey(algorithm: AesKeyGenParams | HmacKeyGenParams | Pbkdf2Params, extractable: boolean, keyUsages: ReadonlyArray<KeyUsage>): Promise<CryptoKey>;
|
384
|
-
generateKey(algorithm: AlgorithmIdentifier, extractable: boolean, keyUsages: Iterable<KeyUsage>): Promise<CryptoKeyPair | CryptoKey>;
|
385
|
-
/**
|
386
|
-
* The **`importKey()`** method of the SubtleCrypto interface imports a key: that is, it takes as input a key in an external, portable format and gives you a CryptoKey object that you can use in the Web Crypto API.
|
387
|
-
*
|
388
|
-
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/SubtleCrypto/importKey)
|
389
|
-
*/
|
390
|
-
importKey(format: "jwk", keyData: JsonWebKey, algorithm: AlgorithmIdentifier | RsaHashedImportParams | EcKeyImportParams | HmacImportParams | AesKeyAlgorithm, extractable: boolean, keyUsages: ReadonlyArray<KeyUsage>): Promise<CryptoKey>;
|
391
|
-
importKey(format: Exclude<KeyFormat, "jwk">, keyData: BufferSource, algorithm: AlgorithmIdentifier | RsaHashedImportParams | EcKeyImportParams | HmacImportParams | AesKeyAlgorithm, extractable: boolean, keyUsages: Iterable<KeyUsage>): Promise<CryptoKey>;
|
392
|
-
/**
|
393
|
-
* The **`unwrapKey()`** method of the SubtleCrypto interface 'unwraps' a key.
|
394
|
-
*
|
395
|
-
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/SubtleCrypto/unwrapKey)
|
396
|
-
*/
|
397
|
-
unwrapKey(format: KeyFormat, wrappedKey: BufferSource, unwrappingKey: CryptoKey, unwrapAlgorithm: AlgorithmIdentifier | RsaOaepParams | AesCtrParams | AesCbcParams | AesGcmParams, unwrappedKeyAlgorithm: AlgorithmIdentifier | RsaHashedImportParams | EcKeyImportParams | HmacImportParams | AesKeyAlgorithm, extractable: boolean, keyUsages: Iterable<KeyUsage>): Promise<CryptoKey>;
|
398
|
-
}
|
399
|
-
|
400
|
-
interface TextTrackCueList {
|
401
|
-
[Symbol.iterator](): ArrayIterator<TextTrackCue>;
|
402
|
-
}
|
403
|
-
|
404
|
-
interface TextTrackList {
|
405
|
-
[Symbol.iterator](): ArrayIterator<TextTrack>;
|
406
|
-
}
|
407
|
-
|
408
|
-
interface TouchList {
|
409
|
-
[Symbol.iterator](): ArrayIterator<Touch>;
|
410
|
-
}
|
411
|
-
|
412
|
-
interface URLSearchParamsIterator<T> extends IteratorObject<T, BuiltinIteratorReturn, unknown> {
|
413
|
-
[Symbol.iterator](): URLSearchParamsIterator<T>;
|
414
|
-
}
|
415
|
-
|
416
|
-
interface URLSearchParams {
|
417
|
-
[Symbol.iterator](): URLSearchParamsIterator<[string, string]>;
|
418
|
-
/** Returns an array of key, value pairs for every entry in the search params. */
|
419
|
-
entries(): URLSearchParamsIterator<[string, string]>;
|
420
|
-
/** Returns a list of keys in the search params. */
|
421
|
-
keys(): URLSearchParamsIterator<string>;
|
422
|
-
/** Returns a list of values in the search params. */
|
423
|
-
values(): URLSearchParamsIterator<string>;
|
424
|
-
}
|
425
|
-
|
426
|
-
interface ViewTransitionTypeSet extends Set<string> {
|
427
|
-
}
|
428
|
-
|
429
|
-
interface WEBGL_draw_buffers {
|
430
|
-
/**
|
431
|
-
* The **`WEBGL_draw_buffers.drawBuffersWEBGL()`** method is part of the WebGL API and allows you to define the draw buffers to which all fragment colors are written.
|
432
|
-
*
|
433
|
-
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/WEBGL_draw_buffers/drawBuffersWEBGL)
|
434
|
-
*/
|
435
|
-
drawBuffersWEBGL(buffers: Iterable<GLenum>): void;
|
436
|
-
}
|
437
|
-
|
438
|
-
interface WEBGL_multi_draw {
|
439
|
-
/**
|
440
|
-
* The **`WEBGL_multi_draw.multiDrawArraysInstancedWEBGL()`** method of the WebGL API renders multiple primitives from array data.
|
441
|
-
*
|
442
|
-
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/WEBGL_multi_draw/multiDrawArraysInstancedWEBGL)
|
443
|
-
*/
|
444
|
-
multiDrawArraysInstancedWEBGL(mode: GLenum, firstsList: Int32Array<ArrayBufferLike> | Iterable<GLint>, firstsOffset: number, countsList: Int32Array<ArrayBufferLike> | Iterable<GLsizei>, countsOffset: number, instanceCountsList: Int32Array<ArrayBufferLike> | Iterable<GLsizei>, instanceCountsOffset: number, drawcount: GLsizei): void;
|
445
|
-
/**
|
446
|
-
* The **`WEBGL_multi_draw.multiDrawArraysWEBGL()`** method of the WebGL API renders multiple primitives from array data.
|
447
|
-
*
|
448
|
-
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/WEBGL_multi_draw/multiDrawArraysWEBGL)
|
449
|
-
*/
|
450
|
-
multiDrawArraysWEBGL(mode: GLenum, firstsList: Int32Array<ArrayBufferLike> | Iterable<GLint>, firstsOffset: number, countsList: Int32Array<ArrayBufferLike> | Iterable<GLsizei>, countsOffset: number, drawcount: GLsizei): void;
|
451
|
-
/**
|
452
|
-
* The **`WEBGL_multi_draw.multiDrawElementsInstancedWEBGL()`** method of the WebGL API renders multiple primitives from array data.
|
453
|
-
*
|
454
|
-
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/WEBGL_multi_draw/multiDrawElementsInstancedWEBGL)
|
455
|
-
*/
|
456
|
-
multiDrawElementsInstancedWEBGL(mode: GLenum, countsList: Int32Array<ArrayBufferLike> | Iterable<GLsizei>, countsOffset: number, type: GLenum, offsetsList: Int32Array<ArrayBufferLike> | Iterable<GLsizei>, offsetsOffset: number, instanceCountsList: Int32Array<ArrayBufferLike> | Iterable<GLsizei>, instanceCountsOffset: number, drawcount: GLsizei): void;
|
457
|
-
/**
|
458
|
-
* The **`WEBGL_multi_draw.multiDrawElementsWEBGL()`** method of the WebGL API renders multiple primitives from array data.
|
459
|
-
*
|
460
|
-
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/WEBGL_multi_draw/multiDrawElementsWEBGL)
|
461
|
-
*/
|
462
|
-
multiDrawElementsWEBGL(mode: GLenum, countsList: Int32Array<ArrayBufferLike> | Iterable<GLsizei>, countsOffset: number, type: GLenum, offsetsList: Int32Array<ArrayBufferLike> | Iterable<GLsizei>, offsetsOffset: number, drawcount: GLsizei): void;
|
463
|
-
}
|
464
|
-
|
465
|
-
interface WebGL2RenderingContextBase {
|
466
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGL2RenderingContext/clearBuffer) */
|
467
|
-
clearBufferfv(buffer: GLenum, drawbuffer: GLint, values: Iterable<GLfloat>, srcOffset?: number): void;
|
468
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGL2RenderingContext/clearBuffer) */
|
469
|
-
clearBufferiv(buffer: GLenum, drawbuffer: GLint, values: Iterable<GLint>, srcOffset?: number): void;
|
470
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGL2RenderingContext/clearBuffer) */
|
471
|
-
clearBufferuiv(buffer: GLenum, drawbuffer: GLint, values: Iterable<GLuint>, srcOffset?: number): void;
|
472
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGL2RenderingContext/drawBuffers) */
|
473
|
-
drawBuffers(buffers: Iterable<GLenum>): void;
|
474
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGL2RenderingContext/getActiveUniforms) */
|
475
|
-
getActiveUniforms(program: WebGLProgram, uniformIndices: Iterable<GLuint>, pname: GLenum): any;
|
476
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGL2RenderingContext/getUniformIndices) */
|
477
|
-
getUniformIndices(program: WebGLProgram, uniformNames: Iterable<string>): GLuint[] | null;
|
478
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGL2RenderingContext/invalidateFramebuffer) */
|
479
|
-
invalidateFramebuffer(target: GLenum, attachments: Iterable<GLenum>): void;
|
480
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGL2RenderingContext/invalidateSubFramebuffer) */
|
481
|
-
invalidateSubFramebuffer(target: GLenum, attachments: Iterable<GLenum>, x: GLint, y: GLint, width: GLsizei, height: GLsizei): void;
|
482
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGL2RenderingContext/transformFeedbackVaryings) */
|
483
|
-
transformFeedbackVaryings(program: WebGLProgram, varyings: Iterable<string>, bufferMode: GLenum): void;
|
484
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGL2RenderingContext/uniform) */
|
485
|
-
uniform1uiv(location: WebGLUniformLocation | null, data: Iterable<GLuint>, srcOffset?: number, srcLength?: GLuint): void;
|
486
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGL2RenderingContext/uniform) */
|
487
|
-
uniform2uiv(location: WebGLUniformLocation | null, data: Iterable<GLuint>, srcOffset?: number, srcLength?: GLuint): void;
|
488
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGL2RenderingContext/uniform) */
|
489
|
-
uniform3uiv(location: WebGLUniformLocation | null, data: Iterable<GLuint>, srcOffset?: number, srcLength?: GLuint): void;
|
490
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGL2RenderingContext/uniform) */
|
491
|
-
uniform4uiv(location: WebGLUniformLocation | null, data: Iterable<GLuint>, srcOffset?: number, srcLength?: GLuint): void;
|
492
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGL2RenderingContext/uniformMatrix) */
|
493
|
-
uniformMatrix2x3fv(location: WebGLUniformLocation | null, transpose: GLboolean, data: Iterable<GLfloat>, srcOffset?: number, srcLength?: GLuint): void;
|
494
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGL2RenderingContext/uniformMatrix) */
|
495
|
-
uniformMatrix2x4fv(location: WebGLUniformLocation | null, transpose: GLboolean, data: Iterable<GLfloat>, srcOffset?: number, srcLength?: GLuint): void;
|
496
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGL2RenderingContext/uniformMatrix) */
|
497
|
-
uniformMatrix3x2fv(location: WebGLUniformLocation | null, transpose: GLboolean, data: Iterable<GLfloat>, srcOffset?: number, srcLength?: GLuint): void;
|
498
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGL2RenderingContext/uniformMatrix) */
|
499
|
-
uniformMatrix3x4fv(location: WebGLUniformLocation | null, transpose: GLboolean, data: Iterable<GLfloat>, srcOffset?: number, srcLength?: GLuint): void;
|
500
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGL2RenderingContext/uniformMatrix) */
|
501
|
-
uniformMatrix4x2fv(location: WebGLUniformLocation | null, transpose: GLboolean, data: Iterable<GLfloat>, srcOffset?: number, srcLength?: GLuint): void;
|
502
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGL2RenderingContext/uniformMatrix) */
|
503
|
-
uniformMatrix4x3fv(location: WebGLUniformLocation | null, transpose: GLboolean, data: Iterable<GLfloat>, srcOffset?: number, srcLength?: GLuint): void;
|
504
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGL2RenderingContext/vertexAttribI) */
|
505
|
-
vertexAttribI4iv(index: GLuint, values: Iterable<GLint>): void;
|
506
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGL2RenderingContext/vertexAttribI) */
|
507
|
-
vertexAttribI4uiv(index: GLuint, values: Iterable<GLuint>): void;
|
508
|
-
}
|
509
|
-
|
510
|
-
interface WebGL2RenderingContextOverloads {
|
511
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/uniform) */
|
512
|
-
uniform1fv(location: WebGLUniformLocation | null, data: Iterable<GLfloat>, srcOffset?: number, srcLength?: GLuint): void;
|
513
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/uniform) */
|
514
|
-
uniform1iv(location: WebGLUniformLocation | null, data: Iterable<GLint>, srcOffset?: number, srcLength?: GLuint): void;
|
515
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/uniform) */
|
516
|
-
uniform2fv(location: WebGLUniformLocation | null, data: Iterable<GLfloat>, srcOffset?: number, srcLength?: GLuint): void;
|
517
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/uniform) */
|
518
|
-
uniform2iv(location: WebGLUniformLocation | null, data: Iterable<GLint>, srcOffset?: number, srcLength?: GLuint): void;
|
519
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/uniform) */
|
520
|
-
uniform3fv(location: WebGLUniformLocation | null, data: Iterable<GLfloat>, srcOffset?: number, srcLength?: GLuint): void;
|
521
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/uniform) */
|
522
|
-
uniform3iv(location: WebGLUniformLocation | null, data: Iterable<GLint>, srcOffset?: number, srcLength?: GLuint): void;
|
523
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/uniform) */
|
524
|
-
uniform4fv(location: WebGLUniformLocation | null, data: Iterable<GLfloat>, srcOffset?: number, srcLength?: GLuint): void;
|
525
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/uniform) */
|
526
|
-
uniform4iv(location: WebGLUniformLocation | null, data: Iterable<GLint>, srcOffset?: number, srcLength?: GLuint): void;
|
527
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGL2RenderingContext/uniformMatrix) */
|
528
|
-
uniformMatrix2fv(location: WebGLUniformLocation | null, transpose: GLboolean, data: Iterable<GLfloat>, srcOffset?: number, srcLength?: GLuint): void;
|
529
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/uniformMatrix) */
|
530
|
-
uniformMatrix3fv(location: WebGLUniformLocation | null, transpose: GLboolean, data: Iterable<GLfloat>, srcOffset?: number, srcLength?: GLuint): void;
|
531
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/uniformMatrix) */
|
532
|
-
uniformMatrix4fv(location: WebGLUniformLocation | null, transpose: GLboolean, data: Iterable<GLfloat>, srcOffset?: number, srcLength?: GLuint): void;
|
533
|
-
}
|
534
|
-
|
535
|
-
interface WebGLRenderingContextBase {
|
536
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/vertexAttrib) */
|
537
|
-
vertexAttrib1fv(index: GLuint, values: Iterable<GLfloat>): void;
|
538
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/vertexAttrib) */
|
539
|
-
vertexAttrib2fv(index: GLuint, values: Iterable<GLfloat>): void;
|
540
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/vertexAttrib) */
|
541
|
-
vertexAttrib3fv(index: GLuint, values: Iterable<GLfloat>): void;
|
542
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/vertexAttrib) */
|
543
|
-
vertexAttrib4fv(index: GLuint, values: Iterable<GLfloat>): void;
|
544
|
-
}
|
545
|
-
|
546
|
-
interface WebGLRenderingContextOverloads {
|
547
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/uniform) */
|
548
|
-
uniform1fv(location: WebGLUniformLocation | null, v: Iterable<GLfloat>): void;
|
549
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/uniform) */
|
550
|
-
uniform1iv(location: WebGLUniformLocation | null, v: Iterable<GLint>): void;
|
551
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/uniform) */
|
552
|
-
uniform2fv(location: WebGLUniformLocation | null, v: Iterable<GLfloat>): void;
|
553
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/uniform) */
|
554
|
-
uniform2iv(location: WebGLUniformLocation | null, v: Iterable<GLint>): void;
|
555
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/uniform) */
|
556
|
-
uniform3fv(location: WebGLUniformLocation | null, v: Iterable<GLfloat>): void;
|
557
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/uniform) */
|
558
|
-
uniform3iv(location: WebGLUniformLocation | null, v: Iterable<GLint>): void;
|
559
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/uniform) */
|
560
|
-
uniform4fv(location: WebGLUniformLocation | null, v: Iterable<GLfloat>): void;
|
561
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/uniform) */
|
562
|
-
uniform4iv(location: WebGLUniformLocation | null, v: Iterable<GLint>): void;
|
563
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/uniformMatrix) */
|
564
|
-
uniformMatrix2fv(location: WebGLUniformLocation | null, transpose: GLboolean, value: Iterable<GLfloat>): void;
|
565
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/uniformMatrix) */
|
566
|
-
uniformMatrix3fv(location: WebGLUniformLocation | null, transpose: GLboolean, value: Iterable<GLfloat>): void;
|
567
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/uniformMatrix) */
|
568
|
-
uniformMatrix4fv(location: WebGLUniformLocation | null, transpose: GLboolean, value: Iterable<GLfloat>): void;
|
569
|
-
}
|
17
|
+
// This file's contents are now included in the main types file.
|
18
|
+
// The file has been left for backward compatibility.
|
@@ -14,26 +14,5 @@ and limitations under the License.
|
|
14
14
|
***************************************************************************** */
|
15
15
|
|
16
16
|
|
17
|
-
|
18
|
-
|
19
|
-
/////////////////////////////
|
20
|
-
|
21
|
-
interface FileSystemDirectoryHandleAsyncIterator<T> extends AsyncIteratorObject<T, BuiltinIteratorReturn, unknown> {
|
22
|
-
[Symbol.asyncIterator](): FileSystemDirectoryHandleAsyncIterator<T>;
|
23
|
-
}
|
24
|
-
|
25
|
-
interface FileSystemDirectoryHandle {
|
26
|
-
[Symbol.asyncIterator](): FileSystemDirectoryHandleAsyncIterator<[string, FileSystemHandle]>;
|
27
|
-
entries(): FileSystemDirectoryHandleAsyncIterator<[string, FileSystemHandle]>;
|
28
|
-
keys(): FileSystemDirectoryHandleAsyncIterator<string>;
|
29
|
-
values(): FileSystemDirectoryHandleAsyncIterator<FileSystemHandle>;
|
30
|
-
}
|
31
|
-
|
32
|
-
interface ReadableStreamAsyncIterator<T> extends AsyncIteratorObject<T, BuiltinIteratorReturn, unknown> {
|
33
|
-
[Symbol.asyncIterator](): ReadableStreamAsyncIterator<T>;
|
34
|
-
}
|
35
|
-
|
36
|
-
interface ReadableStream<R = any> {
|
37
|
-
[Symbol.asyncIterator](options?: ReadableStreamIteratorOptions): ReadableStreamAsyncIterator<R>;
|
38
|
-
values(options?: ReadableStreamIteratorOptions): ReadableStreamAsyncIterator<R>;
|
39
|
-
}
|
17
|
+
// This file's contents are now included in the main types file.
|
18
|
+
// The file has been left for backward compatibility.
|