strict-ts-lib-v5.0 0.4.0

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.
Files changed (77) hide show
  1. package/README.md +28 -0
  2. package/libs/decorators/index.d.ts +344 -0
  3. package/libs/decorators/legacy/index.d.ts +19 -0
  4. package/libs/dom/index.d.ts +25408 -0
  5. package/libs/dom/iterable/index.d.ts +630 -0
  6. package/libs/es2015/collection/index.d.ts +148 -0
  7. package/libs/es2015/core/index.d.ts +574 -0
  8. package/libs/es2015/generator/index.d.ts +65 -0
  9. package/libs/es2015/index.d.ts +12 -0
  10. package/libs/es2015/iterable/index.d.ts +522 -0
  11. package/libs/es2015/promise/index.d.ts +74 -0
  12. package/libs/es2015/proxy/index.d.ts +131 -0
  13. package/libs/es2015/reflect/index.d.ts +145 -0
  14. package/libs/es2015/symbol/index.d.ts +30 -0
  15. package/libs/es2015/symbol-wellknown/index.d.ts +331 -0
  16. package/libs/es2016/array-include/index.d.ts +115 -0
  17. package/libs/es2016/full/index.d.ts +7 -0
  18. package/libs/es2016/index.d.ts +4 -0
  19. package/libs/es2017/full/index.d.ts +7 -0
  20. package/libs/es2017/index.d.ts +8 -0
  21. package/libs/es2017/intl/index.d.ts +28 -0
  22. package/libs/es2017/object/index.d.ts +115 -0
  23. package/libs/es2017/sharedmemory/index.d.ts +244 -0
  24. package/libs/es2017/string/index.d.ts +29 -0
  25. package/libs/es2017/typedarrays/index.d.ts +37 -0
  26. package/libs/es2018/asyncgenerator/index.d.ts +69 -0
  27. package/libs/es2018/asynciterable/index.d.ts +31 -0
  28. package/libs/es2018/full/index.d.ts +7 -0
  29. package/libs/es2018/index.d.ts +8 -0
  30. package/libs/es2018/intl/index.d.ts +102 -0
  31. package/libs/es2018/promise/index.d.ts +14 -0
  32. package/libs/es2018/regexp/index.d.ts +21 -0
  33. package/libs/es2019/array/index.d.ts +94 -0
  34. package/libs/es2019/full/index.d.ts +7 -0
  35. package/libs/es2019/index.d.ts +8 -0
  36. package/libs/es2019/intl/index.d.ts +7 -0
  37. package/libs/es2019/object/index.d.ts +143 -0
  38. package/libs/es2019/string/index.d.ts +21 -0
  39. package/libs/es2019/symbol/index.d.ts +8 -0
  40. package/libs/es2020/bigint/index.d.ts +833 -0
  41. package/libs/es2020/date/index.d.ts +35 -0
  42. package/libs/es2020/full/index.d.ts +7 -0
  43. package/libs/es2020/index.d.ts +11 -0
  44. package/libs/es2020/intl/index.d.ts +433 -0
  45. package/libs/es2020/number/index.d.ts +15 -0
  46. package/libs/es2020/promise/index.d.ts +37 -0
  47. package/libs/es2020/sharedmemory/index.d.ts +119 -0
  48. package/libs/es2020/string/index.d.ts +12 -0
  49. package/libs/es2020/symbol-wellknown/index.d.ts +21 -0
  50. package/libs/es2021/full/index.d.ts +7 -0
  51. package/libs/es2021/index.d.ts +7 -0
  52. package/libs/es2021/intl/index.d.ts +164 -0
  53. package/libs/es2021/promise/index.d.ts +34 -0
  54. package/libs/es2021/string/index.d.ts +20 -0
  55. package/libs/es2021/weakref/index.d.ts +57 -0
  56. package/libs/es2022/array/index.d.ts +105 -0
  57. package/libs/es2022/error/index.d.ts +57 -0
  58. package/libs/es2022/full/index.d.ts +7 -0
  59. package/libs/es2022/index.d.ts +10 -0
  60. package/libs/es2022/intl/index.d.ts +98 -0
  61. package/libs/es2022/object/index.d.ts +41 -0
  62. package/libs/es2022/regexp/index.d.ts +23 -0
  63. package/libs/es2022/sharedmemory/index.d.ts +37 -0
  64. package/libs/es2022/string/index.d.ts +9 -0
  65. package/libs/es2023/array/index.d.ts +495 -0
  66. package/libs/es2023/full/index.d.ts +7 -0
  67. package/libs/es2023/index.d.ts +4 -0
  68. package/libs/es5/index.d.ts +5709 -0
  69. package/libs/es6/index.d.ts +7 -0
  70. package/libs/esnext/full/index.d.ts +7 -0
  71. package/libs/esnext/index.d.ts +4 -0
  72. package/libs/esnext/intl/index.d.ts +15 -0
  73. package/libs/scripthost/index.d.ts +310 -0
  74. package/libs/webworker/importscripts/index.d.ts +7 -0
  75. package/libs/webworker/index.d.ts +8426 -0
  76. package/libs/webworker/iterable/index.d.ts +439 -0
  77. package/package.json +23 -0
@@ -0,0 +1,630 @@
1
+ /// <reference no-default-lib="true"/>
2
+
3
+ /////////////////////////////
4
+ /// Window Iterable APIs
5
+ /////////////////////////////
6
+
7
+ interface AudioParam {
8
+ setValueCurveAtTime(
9
+ values: Iterable<number>,
10
+ startTime: number,
11
+ duration: number,
12
+ ): AudioParam;
13
+ }
14
+
15
+ interface AudioParamMap extends ReadonlyMap<string, AudioParam> {}
16
+
17
+ interface BaseAudioContext {
18
+ createIIRFilter(
19
+ feedforward: Iterable<number>,
20
+ feedback: Iterable<number>,
21
+ ): IIRFilterNode;
22
+ createPeriodicWave(
23
+ real: Iterable<number>,
24
+ imag: Iterable<number>,
25
+ constraints?: PeriodicWaveConstraints,
26
+ ): PeriodicWave;
27
+ }
28
+
29
+ interface CSSKeyframesRule {
30
+ [Symbol.iterator](): IterableIterator<CSSKeyframeRule>;
31
+ }
32
+
33
+ interface CSSRuleList {
34
+ [Symbol.iterator](): IterableIterator<CSSRule>;
35
+ }
36
+
37
+ interface CSSStyleDeclaration {
38
+ [Symbol.iterator](): IterableIterator<string>;
39
+ }
40
+
41
+ interface Cache {
42
+ addAll(requests: Iterable<RequestInfo>): Promise<void>;
43
+ }
44
+
45
+ interface CanvasPath {
46
+ roundRect(
47
+ x: number,
48
+ y: number,
49
+ w: number,
50
+ h: number,
51
+ radii?: number | DOMPointInit | Iterable<number | DOMPointInit>,
52
+ ): void;
53
+ }
54
+
55
+ interface CanvasPathDrawingStyles {
56
+ setLineDash(segments: Iterable<number>): void;
57
+ }
58
+
59
+ interface DOMRectList {
60
+ [Symbol.iterator](): IterableIterator<DOMRect>;
61
+ }
62
+
63
+ interface DOMStringList {
64
+ [Symbol.iterator](): IterableIterator<string>;
65
+ }
66
+
67
+ interface DOMTokenList {
68
+ [Symbol.iterator](): IterableIterator<string>;
69
+ entries(): IterableIterator<readonly [number, string]>;
70
+ keys(): IterableIterator<number>;
71
+ values(): IterableIterator<string>;
72
+ }
73
+
74
+ interface DataTransferItemList {
75
+ [Symbol.iterator](): IterableIterator<DataTransferItem>;
76
+ }
77
+
78
+ interface EventCounts extends ReadonlyMap<string, number> {}
79
+
80
+ interface FileList {
81
+ [Symbol.iterator](): IterableIterator<File>;
82
+ }
83
+
84
+ interface FontFaceSet extends Set<FontFace> {}
85
+
86
+ interface FormData {
87
+ [Symbol.iterator](): IterableIterator<readonly [string, FormDataEntryValue]>;
88
+ /** Returns an array of key, value pairs for every entry in the list. */
89
+ entries(): IterableIterator<readonly [string, FormDataEntryValue]>;
90
+ /** Returns a list of keys in the list. */
91
+ keys(): IterableIterator<string>;
92
+ /** Returns a list of values in the list. */
93
+ values(): IterableIterator<FormDataEntryValue>;
94
+ }
95
+
96
+ interface HTMLAllCollection {
97
+ [Symbol.iterator](): IterableIterator<Element>;
98
+ }
99
+
100
+ interface HTMLCollectionBase {
101
+ [Symbol.iterator](): IterableIterator<Element>;
102
+ }
103
+
104
+ interface HTMLCollectionOf<T extends Element> {
105
+ [Symbol.iterator](): IterableIterator<T>;
106
+ }
107
+
108
+ interface HTMLFormElement {
109
+ [Symbol.iterator](): IterableIterator<Element>;
110
+ }
111
+
112
+ interface HTMLSelectElement {
113
+ [Symbol.iterator](): IterableIterator<HTMLOptionElement>;
114
+ }
115
+
116
+ interface Headers {
117
+ [Symbol.iterator](): IterableIterator<readonly [string, string]>;
118
+ /** Returns an iterator allowing to go through all key/value pairs contained in this object. */
119
+ entries(): IterableIterator<readonly [string, string]>;
120
+ /** Returns an iterator allowing to go through all keys of the key/value pairs contained in this object. */
121
+ keys(): IterableIterator<string>;
122
+ /** Returns an iterator allowing to go through all values of the key/value pairs contained in this object. */
123
+ values(): IterableIterator<string>;
124
+ }
125
+
126
+ interface IDBDatabase {
127
+ /** Returns a new transaction with the given mode ("readonly" or "readwrite") and scope which can be a single object store name or an array of names. */
128
+ transaction(
129
+ storeNames: string | Iterable<string>,
130
+ mode?: IDBTransactionMode,
131
+ options?: IDBTransactionOptions,
132
+ ): IDBTransaction;
133
+ }
134
+
135
+ interface IDBObjectStore {
136
+ /**
137
+ * Creates a new index in store with the given name, keyPath and options and returns a new IDBIndex. If the keyPath and options define constraints that cannot be satisfied with the data already in store the upgrade transaction will abort with a "ConstraintError" DOMException.
138
+ *
139
+ * Throws an "InvalidStateError" DOMException if not called within an upgrade transaction.
140
+ */
141
+ createIndex(
142
+ name: string,
143
+ keyPath: string | Iterable<string>,
144
+ options?: IDBIndexParameters,
145
+ ): IDBIndex;
146
+ }
147
+
148
+ interface MIDIInputMap extends ReadonlyMap<string, MIDIInput> {}
149
+
150
+ interface MIDIOutput {
151
+ send(data: Iterable<number>, timestamp?: DOMHighResTimeStamp): void;
152
+ }
153
+
154
+ interface MIDIOutputMap extends ReadonlyMap<string, MIDIOutput> {}
155
+
156
+ interface MediaKeyStatusMap {
157
+ [Symbol.iterator](): IterableIterator<
158
+ readonly [BufferSource, MediaKeyStatus]
159
+ >;
160
+ entries(): IterableIterator<readonly [BufferSource, MediaKeyStatus]>;
161
+ keys(): IterableIterator<BufferSource>;
162
+ values(): IterableIterator<MediaKeyStatus>;
163
+ }
164
+
165
+ interface MediaList {
166
+ [Symbol.iterator](): IterableIterator<string>;
167
+ }
168
+
169
+ interface MessageEvent<T = unknown> {
170
+ /** @deprecated */
171
+ initMessageEvent(
172
+ type: string,
173
+ bubbles?: boolean,
174
+ cancelable?: boolean,
175
+ data?: unknown,
176
+ origin?: string,
177
+ lastEventId?: string,
178
+ source?: MessageEventSource | null,
179
+ ports?: Iterable<MessagePort>,
180
+ ): void;
181
+ }
182
+
183
+ interface MimeTypeArray {
184
+ [Symbol.iterator](): IterableIterator<MimeType>;
185
+ }
186
+
187
+ interface NamedNodeMap {
188
+ [Symbol.iterator](): IterableIterator<Attr>;
189
+ }
190
+
191
+ interface Navigator {
192
+ /** Available only in secure contexts. */
193
+ requestMediaKeySystemAccess(
194
+ keySystem: string,
195
+ supportedConfigurations: Iterable<MediaKeySystemConfiguration>,
196
+ ): Promise<MediaKeySystemAccess>;
197
+ vibrate(pattern: Iterable<number>): boolean;
198
+ }
199
+
200
+ interface NodeList {
201
+ [Symbol.iterator](): IterableIterator<Node>;
202
+ /** Returns an array of key, value pairs for every entry in the list. */
203
+ entries(): IterableIterator<readonly [number, Node]>;
204
+ /** Returns an list of keys in the list. */
205
+ keys(): IterableIterator<number>;
206
+ /** Returns an list of values in the list. */
207
+ values(): IterableIterator<Node>;
208
+ }
209
+
210
+ interface NodeListOf<TNode extends Node> {
211
+ [Symbol.iterator](): IterableIterator<TNode>;
212
+ /** Returns an array of key, value pairs for every entry in the list. */
213
+ entries(): IterableIterator<readonly [number, TNode]>;
214
+ /** Returns an list of keys in the list. */
215
+ keys(): IterableIterator<number>;
216
+ /** Returns an list of values in the list. */
217
+ values(): IterableIterator<TNode>;
218
+ }
219
+
220
+ interface Plugin {
221
+ [Symbol.iterator](): IterableIterator<MimeType>;
222
+ }
223
+
224
+ interface PluginArray {
225
+ [Symbol.iterator](): IterableIterator<Plugin>;
226
+ }
227
+
228
+ interface RTCRtpTransceiver {
229
+ setCodecPreferences(codecs: Iterable<RTCRtpCodecCapability>): void;
230
+ }
231
+
232
+ interface RTCStatsReport extends ReadonlyMap<string, unknown> {}
233
+
234
+ interface SVGLengthList {
235
+ [Symbol.iterator](): IterableIterator<SVGLength>;
236
+ }
237
+
238
+ interface SVGNumberList {
239
+ [Symbol.iterator](): IterableIterator<SVGNumber>;
240
+ }
241
+
242
+ interface SVGPointList {
243
+ [Symbol.iterator](): IterableIterator<DOMPoint>;
244
+ }
245
+
246
+ interface SVGStringList {
247
+ [Symbol.iterator](): IterableIterator<string>;
248
+ }
249
+
250
+ interface SVGTransformList {
251
+ [Symbol.iterator](): IterableIterator<SVGTransform>;
252
+ }
253
+
254
+ interface SourceBufferList {
255
+ [Symbol.iterator](): IterableIterator<SourceBuffer>;
256
+ }
257
+
258
+ interface SpeechRecognitionResult {
259
+ [Symbol.iterator](): IterableIterator<SpeechRecognitionAlternative>;
260
+ }
261
+
262
+ interface SpeechRecognitionResultList {
263
+ [Symbol.iterator](): IterableIterator<SpeechRecognitionResult>;
264
+ }
265
+
266
+ interface StyleSheetList {
267
+ [Symbol.iterator](): IterableIterator<CSSStyleSheet>;
268
+ }
269
+
270
+ interface SubtleCrypto {
271
+ deriveKey(
272
+ algorithm:
273
+ | AlgorithmIdentifier
274
+ | EcdhKeyDeriveParams
275
+ | HkdfParams
276
+ | Pbkdf2Params,
277
+ baseKey: CryptoKey,
278
+ derivedKeyType:
279
+ | AlgorithmIdentifier
280
+ | AesDerivedKeyParams
281
+ | HmacImportParams
282
+ | HkdfParams
283
+ | Pbkdf2Params,
284
+ extractable: boolean,
285
+ keyUsages: Iterable<KeyUsage>,
286
+ ): Promise<CryptoKey>;
287
+ generateKey(
288
+ algorithm: RsaHashedKeyGenParams | EcKeyGenParams,
289
+ extractable: boolean,
290
+ keyUsages: ReadonlyArray<KeyUsage>,
291
+ ): Promise<CryptoKeyPair>;
292
+ generateKey(
293
+ algorithm: AesKeyGenParams | HmacKeyGenParams | Pbkdf2Params,
294
+ extractable: boolean,
295
+ keyUsages: ReadonlyArray<KeyUsage>,
296
+ ): Promise<CryptoKey>;
297
+ generateKey(
298
+ algorithm: AlgorithmIdentifier,
299
+ extractable: boolean,
300
+ keyUsages: Iterable<KeyUsage>,
301
+ ): Promise<CryptoKeyPair | CryptoKey>;
302
+ importKey(
303
+ format: 'jwk',
304
+ keyData: JsonWebKey,
305
+ algorithm:
306
+ | AlgorithmIdentifier
307
+ | RsaHashedImportParams
308
+ | EcKeyImportParams
309
+ | HmacImportParams
310
+ | AesKeyAlgorithm,
311
+ extractable: boolean,
312
+ keyUsages: ReadonlyArray<KeyUsage>,
313
+ ): Promise<CryptoKey>;
314
+ importKey(
315
+ format: Exclude<KeyFormat, 'jwk'>,
316
+ keyData: BufferSource,
317
+ algorithm:
318
+ | AlgorithmIdentifier
319
+ | RsaHashedImportParams
320
+ | EcKeyImportParams
321
+ | HmacImportParams
322
+ | AesKeyAlgorithm,
323
+ extractable: boolean,
324
+ keyUsages: Iterable<KeyUsage>,
325
+ ): Promise<CryptoKey>;
326
+ unwrapKey(
327
+ format: KeyFormat,
328
+ wrappedKey: BufferSource,
329
+ unwrappingKey: CryptoKey,
330
+ unwrapAlgorithm:
331
+ | AlgorithmIdentifier
332
+ | RsaOaepParams
333
+ | AesCtrParams
334
+ | AesCbcParams
335
+ | AesGcmParams,
336
+ unwrappedKeyAlgorithm:
337
+ | AlgorithmIdentifier
338
+ | RsaHashedImportParams
339
+ | EcKeyImportParams
340
+ | HmacImportParams
341
+ | AesKeyAlgorithm,
342
+ extractable: boolean,
343
+ keyUsages: Iterable<KeyUsage>,
344
+ ): Promise<CryptoKey>;
345
+ }
346
+
347
+ interface TextTrackCueList {
348
+ [Symbol.iterator](): IterableIterator<TextTrackCue>;
349
+ }
350
+
351
+ interface TextTrackList {
352
+ [Symbol.iterator](): IterableIterator<TextTrack>;
353
+ }
354
+
355
+ interface TouchList {
356
+ [Symbol.iterator](): IterableIterator<Touch>;
357
+ }
358
+
359
+ interface URLSearchParams {
360
+ [Symbol.iterator](): IterableIterator<readonly [string, string]>;
361
+ /** Returns an array of key, value pairs for every entry in the search params. */
362
+ entries(): IterableIterator<readonly [string, string]>;
363
+ /** Returns a list of keys in the search params. */
364
+ keys(): IterableIterator<string>;
365
+ /** Returns a list of values in the search params. */
366
+ values(): IterableIterator<string>;
367
+ }
368
+
369
+ interface WEBGL_draw_buffers {
370
+ drawBuffersWEBGL(buffers: Iterable<GLenum>): void;
371
+ }
372
+
373
+ interface WEBGL_multi_draw {
374
+ multiDrawArraysInstancedWEBGL(
375
+ mode: GLenum,
376
+ firstsList: Int32Array | Iterable<GLint>,
377
+ firstsOffset: GLuint,
378
+ countsList: Int32Array | Iterable<GLsizei>,
379
+ countsOffset: GLuint,
380
+ instanceCountsList: Int32Array | Iterable<GLsizei>,
381
+ instanceCountsOffset: GLuint,
382
+ drawcount: GLsizei,
383
+ ): void;
384
+ multiDrawArraysWEBGL(
385
+ mode: GLenum,
386
+ firstsList: Int32Array | Iterable<GLint>,
387
+ firstsOffset: GLuint,
388
+ countsList: Int32Array | Iterable<GLsizei>,
389
+ countsOffset: GLuint,
390
+ drawcount: GLsizei,
391
+ ): void;
392
+ multiDrawElementsInstancedWEBGL(
393
+ mode: GLenum,
394
+ countsList: Int32Array | Iterable<GLsizei>,
395
+ countsOffset: GLuint,
396
+ type: GLenum,
397
+ offsetsList: Int32Array | Iterable<GLsizei>,
398
+ offsetsOffset: GLuint,
399
+ instanceCountsList: Int32Array | Iterable<GLsizei>,
400
+ instanceCountsOffset: GLuint,
401
+ drawcount: GLsizei,
402
+ ): void;
403
+ multiDrawElementsWEBGL(
404
+ mode: GLenum,
405
+ countsList: Int32Array | Iterable<GLsizei>,
406
+ countsOffset: GLuint,
407
+ type: GLenum,
408
+ offsetsList: Int32Array | Iterable<GLsizei>,
409
+ offsetsOffset: GLuint,
410
+ drawcount: GLsizei,
411
+ ): void;
412
+ }
413
+
414
+ interface WebGL2RenderingContextBase {
415
+ clearBufferfv(
416
+ buffer: GLenum,
417
+ drawbuffer: GLint,
418
+ values: Iterable<GLfloat>,
419
+ srcOffset?: GLuint,
420
+ ): void;
421
+ clearBufferiv(
422
+ buffer: GLenum,
423
+ drawbuffer: GLint,
424
+ values: Iterable<GLint>,
425
+ srcOffset?: GLuint,
426
+ ): void;
427
+ clearBufferuiv(
428
+ buffer: GLenum,
429
+ drawbuffer: GLint,
430
+ values: Iterable<GLuint>,
431
+ srcOffset?: GLuint,
432
+ ): void;
433
+ drawBuffers(buffers: Iterable<GLenum>): void;
434
+ getActiveUniforms(
435
+ program: WebGLProgram,
436
+ uniformIndices: Iterable<GLuint>,
437
+ pname: GLenum,
438
+ ): unknown;
439
+ getUniformIndices(
440
+ program: WebGLProgram,
441
+ uniformNames: Iterable<string>,
442
+ ): Iterable<GLuint> | null;
443
+ invalidateFramebuffer(target: GLenum, attachments: Iterable<GLenum>): void;
444
+ invalidateSubFramebuffer(
445
+ target: GLenum,
446
+ attachments: Iterable<GLenum>,
447
+ x: GLint,
448
+ y: GLint,
449
+ width: GLsizei,
450
+ height: GLsizei,
451
+ ): void;
452
+ transformFeedbackVaryings(
453
+ program: WebGLProgram,
454
+ varyings: Iterable<string>,
455
+ bufferMode: GLenum,
456
+ ): void;
457
+ uniform1uiv(
458
+ location: WebGLUniformLocation | null,
459
+ data: Iterable<GLuint>,
460
+ srcOffset?: GLuint,
461
+ srcLength?: GLuint,
462
+ ): void;
463
+ uniform2uiv(
464
+ location: WebGLUniformLocation | null,
465
+ data: Iterable<GLuint>,
466
+ srcOffset?: GLuint,
467
+ srcLength?: GLuint,
468
+ ): void;
469
+ uniform3uiv(
470
+ location: WebGLUniformLocation | null,
471
+ data: Iterable<GLuint>,
472
+ srcOffset?: GLuint,
473
+ srcLength?: GLuint,
474
+ ): void;
475
+ uniform4uiv(
476
+ location: WebGLUniformLocation | null,
477
+ data: Iterable<GLuint>,
478
+ srcOffset?: GLuint,
479
+ srcLength?: GLuint,
480
+ ): void;
481
+ uniformMatrix2x3fv(
482
+ location: WebGLUniformLocation | null,
483
+ transpose: GLboolean,
484
+ data: Iterable<GLfloat>,
485
+ srcOffset?: GLuint,
486
+ srcLength?: GLuint,
487
+ ): void;
488
+ uniformMatrix2x4fv(
489
+ location: WebGLUniformLocation | null,
490
+ transpose: GLboolean,
491
+ data: Iterable<GLfloat>,
492
+ srcOffset?: GLuint,
493
+ srcLength?: GLuint,
494
+ ): void;
495
+ uniformMatrix3x2fv(
496
+ location: WebGLUniformLocation | null,
497
+ transpose: GLboolean,
498
+ data: Iterable<GLfloat>,
499
+ srcOffset?: GLuint,
500
+ srcLength?: GLuint,
501
+ ): void;
502
+ uniformMatrix3x4fv(
503
+ location: WebGLUniformLocation | null,
504
+ transpose: GLboolean,
505
+ data: Iterable<GLfloat>,
506
+ srcOffset?: GLuint,
507
+ srcLength?: GLuint,
508
+ ): void;
509
+ uniformMatrix4x2fv(
510
+ location: WebGLUniformLocation | null,
511
+ transpose: GLboolean,
512
+ data: Iterable<GLfloat>,
513
+ srcOffset?: GLuint,
514
+ srcLength?: GLuint,
515
+ ): void;
516
+ uniformMatrix4x3fv(
517
+ location: WebGLUniformLocation | null,
518
+ transpose: GLboolean,
519
+ data: Iterable<GLfloat>,
520
+ srcOffset?: GLuint,
521
+ srcLength?: GLuint,
522
+ ): void;
523
+ vertexAttribI4iv(index: GLuint, values: Iterable<GLint>): void;
524
+ vertexAttribI4uiv(index: GLuint, values: Iterable<GLuint>): void;
525
+ }
526
+
527
+ interface WebGL2RenderingContextOverloads {
528
+ uniform1fv(
529
+ location: WebGLUniformLocation | null,
530
+ data: Iterable<GLfloat>,
531
+ srcOffset?: GLuint,
532
+ srcLength?: GLuint,
533
+ ): void;
534
+ uniform1iv(
535
+ location: WebGLUniformLocation | null,
536
+ data: Iterable<GLint>,
537
+ srcOffset?: GLuint,
538
+ srcLength?: GLuint,
539
+ ): void;
540
+ uniform2fv(
541
+ location: WebGLUniformLocation | null,
542
+ data: Iterable<GLfloat>,
543
+ srcOffset?: GLuint,
544
+ srcLength?: GLuint,
545
+ ): void;
546
+ uniform2iv(
547
+ location: WebGLUniformLocation | null,
548
+ data: Iterable<GLint>,
549
+ srcOffset?: GLuint,
550
+ srcLength?: GLuint,
551
+ ): void;
552
+ uniform3fv(
553
+ location: WebGLUniformLocation | null,
554
+ data: Iterable<GLfloat>,
555
+ srcOffset?: GLuint,
556
+ srcLength?: GLuint,
557
+ ): void;
558
+ uniform3iv(
559
+ location: WebGLUniformLocation | null,
560
+ data: Iterable<GLint>,
561
+ srcOffset?: GLuint,
562
+ srcLength?: GLuint,
563
+ ): void;
564
+ uniform4fv(
565
+ location: WebGLUniformLocation | null,
566
+ data: Iterable<GLfloat>,
567
+ srcOffset?: GLuint,
568
+ srcLength?: GLuint,
569
+ ): void;
570
+ uniform4iv(
571
+ location: WebGLUniformLocation | null,
572
+ data: Iterable<GLint>,
573
+ srcOffset?: GLuint,
574
+ srcLength?: GLuint,
575
+ ): void;
576
+ uniformMatrix2fv(
577
+ location: WebGLUniformLocation | null,
578
+ transpose: GLboolean,
579
+ data: Iterable<GLfloat>,
580
+ srcOffset?: GLuint,
581
+ srcLength?: GLuint,
582
+ ): void;
583
+ uniformMatrix3fv(
584
+ location: WebGLUniformLocation | null,
585
+ transpose: GLboolean,
586
+ data: Iterable<GLfloat>,
587
+ srcOffset?: GLuint,
588
+ srcLength?: GLuint,
589
+ ): void;
590
+ uniformMatrix4fv(
591
+ location: WebGLUniformLocation | null,
592
+ transpose: GLboolean,
593
+ data: Iterable<GLfloat>,
594
+ srcOffset?: GLuint,
595
+ srcLength?: GLuint,
596
+ ): void;
597
+ }
598
+
599
+ interface WebGLRenderingContextBase {
600
+ vertexAttrib1fv(index: GLuint, values: Iterable<GLfloat>): void;
601
+ vertexAttrib2fv(index: GLuint, values: Iterable<GLfloat>): void;
602
+ vertexAttrib3fv(index: GLuint, values: Iterable<GLfloat>): void;
603
+ vertexAttrib4fv(index: GLuint, values: Iterable<GLfloat>): void;
604
+ }
605
+
606
+ interface WebGLRenderingContextOverloads {
607
+ uniform1fv(location: WebGLUniformLocation | null, v: Iterable<GLfloat>): void;
608
+ uniform1iv(location: WebGLUniformLocation | null, v: Iterable<GLint>): void;
609
+ uniform2fv(location: WebGLUniformLocation | null, v: Iterable<GLfloat>): void;
610
+ uniform2iv(location: WebGLUniformLocation | null, v: Iterable<GLint>): void;
611
+ uniform3fv(location: WebGLUniformLocation | null, v: Iterable<GLfloat>): void;
612
+ uniform3iv(location: WebGLUniformLocation | null, v: Iterable<GLint>): void;
613
+ uniform4fv(location: WebGLUniformLocation | null, v: Iterable<GLfloat>): void;
614
+ uniform4iv(location: WebGLUniformLocation | null, v: Iterable<GLint>): void;
615
+ uniformMatrix2fv(
616
+ location: WebGLUniformLocation | null,
617
+ transpose: GLboolean,
618
+ value: Iterable<GLfloat>,
619
+ ): void;
620
+ uniformMatrix3fv(
621
+ location: WebGLUniformLocation | null,
622
+ transpose: GLboolean,
623
+ value: Iterable<GLfloat>,
624
+ ): void;
625
+ uniformMatrix4fv(
626
+ location: WebGLUniformLocation | null,
627
+ transpose: GLboolean,
628
+ value: Iterable<GLfloat>,
629
+ ): void;
630
+ }