strict-ts-lib-v5.7 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 (97) hide show
  1. package/README.md +28 -0
  2. package/libs/decorators/index.d.ts +362 -0
  3. package/libs/decorators/legacy/index.d.ts +19 -0
  4. package/libs/dom/asynciterable/index.d.ts +41 -0
  5. package/libs/dom/index.d.ts +35994 -0
  6. package/libs/dom/iterable/index.d.ts +793 -0
  7. package/libs/es2015/collection/index.d.ts +148 -0
  8. package/libs/es2015/core/index.d.ts +647 -0
  9. package/libs/es2015/generator/index.d.ts +65 -0
  10. package/libs/es2015/index.d.ts +12 -0
  11. package/libs/es2015/iterable/index.d.ts +645 -0
  12. package/libs/es2015/promise/index.d.ts +74 -0
  13. package/libs/es2015/proxy/index.d.ts +131 -0
  14. package/libs/es2015/reflect/index.d.ts +145 -0
  15. package/libs/es2015/symbol/index.d.ts +30 -0
  16. package/libs/es2015/symbol-wellknown/index.d.ts +331 -0
  17. package/libs/es2016/array-include/index.d.ts +115 -0
  18. package/libs/es2016/full/index.d.ts +7 -0
  19. package/libs/es2016/index.d.ts +5 -0
  20. package/libs/es2016/intl/index.d.ts +15 -0
  21. package/libs/es2017/arraybuffer/index.d.ts +5 -0
  22. package/libs/es2017/date/index.d.ts +23 -0
  23. package/libs/es2017/full/index.d.ts +7 -0
  24. package/libs/es2017/index.d.ts +10 -0
  25. package/libs/es2017/intl/index.d.ts +28 -0
  26. package/libs/es2017/object/index.d.ts +115 -0
  27. package/libs/es2017/sharedmemory/index.d.ts +248 -0
  28. package/libs/es2017/string/index.d.ts +29 -0
  29. package/libs/es2017/typedarrays/index.d.ts +37 -0
  30. package/libs/es2018/asyncgenerator/index.d.ts +69 -0
  31. package/libs/es2018/asynciterable/index.d.ts +49 -0
  32. package/libs/es2018/full/index.d.ts +8 -0
  33. package/libs/es2018/index.d.ts +8 -0
  34. package/libs/es2018/intl/index.d.ts +92 -0
  35. package/libs/es2018/promise/index.d.ts +14 -0
  36. package/libs/es2018/regexp/index.d.ts +21 -0
  37. package/libs/es2019/array/index.d.ts +94 -0
  38. package/libs/es2019/full/index.d.ts +8 -0
  39. package/libs/es2019/index.d.ts +8 -0
  40. package/libs/es2019/intl/index.d.ts +7 -0
  41. package/libs/es2019/object/index.d.ts +143 -0
  42. package/libs/es2019/string/index.d.ts +21 -0
  43. package/libs/es2019/symbol/index.d.ts +8 -0
  44. package/libs/es2020/bigint/index.d.ts +904 -0
  45. package/libs/es2020/date/index.d.ts +35 -0
  46. package/libs/es2020/full/index.d.ts +8 -0
  47. package/libs/es2020/index.d.ts +11 -0
  48. package/libs/es2020/intl/index.d.ts +494 -0
  49. package/libs/es2020/number/index.d.ts +15 -0
  50. package/libs/es2020/promise/index.d.ts +37 -0
  51. package/libs/es2020/sharedmemory/index.d.ts +146 -0
  52. package/libs/es2020/string/index.d.ts +32 -0
  53. package/libs/es2020/symbol-wellknown/index.d.ts +29 -0
  54. package/libs/es2021/full/index.d.ts +8 -0
  55. package/libs/es2021/index.d.ts +7 -0
  56. package/libs/es2021/intl/index.d.ts +161 -0
  57. package/libs/es2021/promise/index.d.ts +34 -0
  58. package/libs/es2021/string/index.d.ts +20 -0
  59. package/libs/es2021/weakref/index.d.ts +62 -0
  60. package/libs/es2022/array/index.d.ts +105 -0
  61. package/libs/es2022/error/index.d.ts +59 -0
  62. package/libs/es2022/full/index.d.ts +8 -0
  63. package/libs/es2022/index.d.ts +9 -0
  64. package/libs/es2022/intl/index.d.ts +120 -0
  65. package/libs/es2022/object/index.d.ts +41 -0
  66. package/libs/es2022/regexp/index.d.ts +23 -0
  67. package/libs/es2022/string/index.d.ts +9 -0
  68. package/libs/es2023/array/index.d.ts +915 -0
  69. package/libs/es2023/collection/index.d.ts +5 -0
  70. package/libs/es2023/full/index.d.ts +8 -0
  71. package/libs/es2023/index.d.ts +6 -0
  72. package/libs/es2023/intl/index.d.ts +106 -0
  73. package/libs/es2024/arraybuffer/index.d.ts +52 -0
  74. package/libs/es2024/collection/index.d.ts +13 -0
  75. package/libs/es2024/full/index.d.ts +8 -0
  76. package/libs/es2024/index.d.ts +10 -0
  77. package/libs/es2024/object/index.d.ts +13 -0
  78. package/libs/es2024/promise/index.d.ts +19 -0
  79. package/libs/es2024/regexp/index.d.ts +9 -0
  80. package/libs/es2024/sharedmemory/index.d.ts +69 -0
  81. package/libs/es2024/string/index.d.ts +13 -0
  82. package/libs/es5/index.d.ts +5793 -0
  83. package/libs/es6/index.d.ts +7 -0
  84. package/libs/esnext/array/index.d.ts +28 -0
  85. package/libs/esnext/collection/index.d.ts +80 -0
  86. package/libs/esnext/decorators/index.d.ts +12 -0
  87. package/libs/esnext/disposable/index.d.ts +175 -0
  88. package/libs/esnext/full/index.d.ts +8 -0
  89. package/libs/esnext/index.d.ts +9 -0
  90. package/libs/esnext/intl/index.d.ts +5 -0
  91. package/libs/esnext/iterator/index.d.ts +172 -0
  92. package/libs/scripthost/index.d.ts +310 -0
  93. package/libs/webworker/asynciterable/index.d.ts +41 -0
  94. package/libs/webworker/importscripts/index.d.ts +7 -0
  95. package/libs/webworker/index.d.ts +12079 -0
  96. package/libs/webworker/iterable/index.d.ts +578 -0
  97. package/package.json +23 -0
@@ -0,0 +1,578 @@
1
+ /// <reference no-default-lib="true"/>
2
+
3
+ /////////////////////////////
4
+ /// Worker Iterable APIs
5
+ /////////////////////////////
6
+
7
+ interface AbortSignal {
8
+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/AbortSignal/any_static) */
9
+ any(signals: Iterable<AbortSignal>): AbortSignal;
10
+ }
11
+
12
+ interface CSSNumericArray {
13
+ [Symbol.iterator](): ArrayIterator<CSSNumericValue>;
14
+ entries(): ArrayIterator<readonly [number, CSSNumericValue]>;
15
+ keys(): ArrayIterator<number>;
16
+ values(): ArrayIterator<CSSNumericValue>;
17
+ }
18
+
19
+ interface CSSTransformValue {
20
+ [Symbol.iterator](): ArrayIterator<CSSTransformComponent>;
21
+ entries(): ArrayIterator<readonly [number, CSSTransformComponent]>;
22
+ keys(): ArrayIterator<number>;
23
+ values(): ArrayIterator<CSSTransformComponent>;
24
+ }
25
+
26
+ interface CSSUnparsedValue {
27
+ [Symbol.iterator](): ArrayIterator<CSSUnparsedSegment>;
28
+ entries(): ArrayIterator<readonly [number, CSSUnparsedSegment]>;
29
+ keys(): ArrayIterator<number>;
30
+ values(): ArrayIterator<CSSUnparsedSegment>;
31
+ }
32
+
33
+ interface Cache {
34
+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Cache/addAll) */
35
+ addAll(requests: Iterable<RequestInfo>): Promise<void>;
36
+ }
37
+
38
+ interface CanvasPath {
39
+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CanvasRenderingContext2D/roundRect) */
40
+ roundRect(
41
+ x: number,
42
+ y: number,
43
+ w: number,
44
+ h: number,
45
+ radii?: number | DOMPointInit | Iterable<number | DOMPointInit>,
46
+ ): void;
47
+ }
48
+
49
+ interface CanvasPathDrawingStyles {
50
+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CanvasRenderingContext2D/setLineDash) */
51
+ setLineDash(segments: Iterable<number>): void;
52
+ }
53
+
54
+ interface DOMStringList {
55
+ [Symbol.iterator](): ArrayIterator<string>;
56
+ }
57
+
58
+ interface FileList {
59
+ [Symbol.iterator](): ArrayIterator<File>;
60
+ }
61
+
62
+ interface FontFaceSet extends Set<FontFace> {}
63
+
64
+ interface FormDataIterator<T> extends IteratorObject<
65
+ T,
66
+ BuiltinIteratorReturn,
67
+ unknown
68
+ > {
69
+ [Symbol.iterator](): FormDataIterator<T>;
70
+ }
71
+
72
+ interface FormData {
73
+ [Symbol.iterator](): FormDataIterator<readonly [string, FormDataEntryValue]>;
74
+ /** Returns an array of key, value pairs for every entry in the list. */
75
+ entries(): FormDataIterator<readonly [string, FormDataEntryValue]>;
76
+ /** Returns a list of keys in the list. */
77
+ keys(): FormDataIterator<string>;
78
+ /** Returns a list of values in the list. */
79
+ values(): FormDataIterator<FormDataEntryValue>;
80
+ }
81
+
82
+ interface HeadersIterator<T> extends IteratorObject<
83
+ T,
84
+ BuiltinIteratorReturn,
85
+ unknown
86
+ > {
87
+ [Symbol.iterator](): HeadersIterator<T>;
88
+ }
89
+
90
+ interface Headers {
91
+ [Symbol.iterator](): HeadersIterator<readonly [string, string]>;
92
+ /** Returns an iterator allowing to go through all key/value pairs contained in this object. */
93
+ entries(): HeadersIterator<readonly [string, string]>;
94
+ /** Returns an iterator allowing to go through all keys of the key/value pairs contained in this object. */
95
+ keys(): HeadersIterator<string>;
96
+ /** Returns an iterator allowing to go through all values of the key/value pairs contained in this object. */
97
+ values(): HeadersIterator<string>;
98
+ }
99
+
100
+ interface IDBDatabase {
101
+ /**
102
+ * 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.
103
+ *
104
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/IDBDatabase/transaction)
105
+ */
106
+ transaction(
107
+ storeNames: string | Iterable<string>,
108
+ mode?: IDBTransactionMode,
109
+ options?: IDBTransactionOptions,
110
+ ): IDBTransaction;
111
+ }
112
+
113
+ interface IDBObjectStore {
114
+ /**
115
+ * 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.
116
+ *
117
+ * Throws an "InvalidStateError" DOMException if not called within an upgrade transaction.
118
+ *
119
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/IDBObjectStore/createIndex)
120
+ */
121
+ createIndex(
122
+ name: string,
123
+ keyPath: string | Iterable<string>,
124
+ options?: IDBIndexParameters,
125
+ ): IDBIndex;
126
+ }
127
+
128
+ interface MessageEvent<T = unknown> {
129
+ /** @deprecated */
130
+ initMessageEvent(
131
+ type: string,
132
+ bubbles?: boolean,
133
+ cancelable?: boolean,
134
+ data?: unknown,
135
+ origin?: string,
136
+ lastEventId?: string,
137
+ source?: MessageEventSource | null,
138
+ ports?: Iterable<MessagePort>,
139
+ ): void;
140
+ }
141
+
142
+ interface StylePropertyMapReadOnlyIterator<T> extends IteratorObject<
143
+ T,
144
+ BuiltinIteratorReturn,
145
+ unknown
146
+ > {
147
+ [Symbol.iterator](): StylePropertyMapReadOnlyIterator<T>;
148
+ }
149
+
150
+ interface StylePropertyMapReadOnly {
151
+ [Symbol.iterator](): StylePropertyMapReadOnlyIterator<
152
+ readonly [string, Iterable<CSSStyleValue>]
153
+ >;
154
+ entries(): StylePropertyMapReadOnlyIterator<
155
+ readonly [string, Iterable<CSSStyleValue>]
156
+ >;
157
+ keys(): StylePropertyMapReadOnlyIterator<string>;
158
+ values(): StylePropertyMapReadOnlyIterator<Iterable<CSSStyleValue>>;
159
+ }
160
+
161
+ interface SubtleCrypto {
162
+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/SubtleCrypto/deriveKey) */
163
+ deriveKey(
164
+ algorithm:
165
+ | AlgorithmIdentifier
166
+ | EcdhKeyDeriveParams
167
+ | HkdfParams
168
+ | Pbkdf2Params,
169
+ baseKey: CryptoKey,
170
+ derivedKeyType:
171
+ | AlgorithmIdentifier
172
+ | AesDerivedKeyParams
173
+ | HmacImportParams
174
+ | HkdfParams
175
+ | Pbkdf2Params,
176
+ extractable: boolean,
177
+ keyUsages: Iterable<KeyUsage>,
178
+ ): Promise<CryptoKey>;
179
+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/SubtleCrypto/generateKey) */
180
+ generateKey(
181
+ algorithm: 'Ed25519',
182
+ extractable: boolean,
183
+ keyUsages: ReadonlyArray<'sign' | 'verify'>,
184
+ ): Promise<CryptoKeyPair>;
185
+ generateKey(
186
+ algorithm: RsaHashedKeyGenParams | EcKeyGenParams,
187
+ extractable: boolean,
188
+ keyUsages: ReadonlyArray<KeyUsage>,
189
+ ): Promise<CryptoKeyPair>;
190
+ generateKey(
191
+ algorithm: AesKeyGenParams | HmacKeyGenParams | Pbkdf2Params,
192
+ extractable: boolean,
193
+ keyUsages: ReadonlyArray<KeyUsage>,
194
+ ): Promise<CryptoKey>;
195
+ generateKey(
196
+ algorithm: AlgorithmIdentifier,
197
+ extractable: boolean,
198
+ keyUsages: Iterable<KeyUsage>,
199
+ ): Promise<CryptoKeyPair | CryptoKey>;
200
+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/SubtleCrypto/importKey) */
201
+ importKey(
202
+ format: 'jwk',
203
+ keyData: JsonWebKey,
204
+ algorithm:
205
+ | AlgorithmIdentifier
206
+ | RsaHashedImportParams
207
+ | EcKeyImportParams
208
+ | HmacImportParams
209
+ | AesKeyAlgorithm,
210
+ extractable: boolean,
211
+ keyUsages: ReadonlyArray<KeyUsage>,
212
+ ): Promise<CryptoKey>;
213
+ importKey(
214
+ format: Exclude<KeyFormat, 'jwk'>,
215
+ keyData: BufferSource,
216
+ algorithm:
217
+ | AlgorithmIdentifier
218
+ | RsaHashedImportParams
219
+ | EcKeyImportParams
220
+ | HmacImportParams
221
+ | AesKeyAlgorithm,
222
+ extractable: boolean,
223
+ keyUsages: Iterable<KeyUsage>,
224
+ ): Promise<CryptoKey>;
225
+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/SubtleCrypto/unwrapKey) */
226
+ unwrapKey(
227
+ format: KeyFormat,
228
+ wrappedKey: BufferSource,
229
+ unwrappingKey: CryptoKey,
230
+ unwrapAlgorithm:
231
+ | AlgorithmIdentifier
232
+ | RsaOaepParams
233
+ | AesCtrParams
234
+ | AesCbcParams
235
+ | AesGcmParams,
236
+ unwrappedKeyAlgorithm:
237
+ | AlgorithmIdentifier
238
+ | RsaHashedImportParams
239
+ | EcKeyImportParams
240
+ | HmacImportParams
241
+ | AesKeyAlgorithm,
242
+ extractable: boolean,
243
+ keyUsages: Iterable<KeyUsage>,
244
+ ): Promise<CryptoKey>;
245
+ }
246
+
247
+ interface URLSearchParamsIterator<T> extends IteratorObject<
248
+ T,
249
+ BuiltinIteratorReturn,
250
+ unknown
251
+ > {
252
+ [Symbol.iterator](): URLSearchParamsIterator<T>;
253
+ }
254
+
255
+ interface URLSearchParams {
256
+ [Symbol.iterator](): URLSearchParamsIterator<readonly [string, string]>;
257
+ /** Returns an array of key, value pairs for every entry in the search params. */
258
+ entries(): URLSearchParamsIterator<readonly [string, string]>;
259
+ /** Returns a list of keys in the search params. */
260
+ keys(): URLSearchParamsIterator<string>;
261
+ /** Returns a list of values in the search params. */
262
+ values(): URLSearchParamsIterator<string>;
263
+ }
264
+
265
+ interface WEBGL_draw_buffers {
266
+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WEBGL_draw_buffers/drawBuffersWEBGL) */
267
+ drawBuffersWEBGL(buffers: Iterable<GLenum>): void;
268
+ }
269
+
270
+ interface WEBGL_multi_draw {
271
+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WEBGL_multi_draw/multiDrawArraysInstancedWEBGL) */
272
+ multiDrawArraysInstancedWEBGL(
273
+ mode: GLenum,
274
+ firstsList: Int32Array | Iterable<GLint>,
275
+ firstsOffset: number,
276
+ countsList: Int32Array | Iterable<GLsizei>,
277
+ countsOffset: number,
278
+ instanceCountsList: Int32Array | Iterable<GLsizei>,
279
+ instanceCountsOffset: number,
280
+ drawcount: GLsizei,
281
+ ): void;
282
+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WEBGL_multi_draw/multiDrawArraysWEBGL) */
283
+ multiDrawArraysWEBGL(
284
+ mode: GLenum,
285
+ firstsList: Int32Array | Iterable<GLint>,
286
+ firstsOffset: number,
287
+ countsList: Int32Array | Iterable<GLsizei>,
288
+ countsOffset: number,
289
+ drawcount: GLsizei,
290
+ ): void;
291
+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WEBGL_multi_draw/multiDrawElementsInstancedWEBGL) */
292
+ multiDrawElementsInstancedWEBGL(
293
+ mode: GLenum,
294
+ countsList: Int32Array | Iterable<GLsizei>,
295
+ countsOffset: number,
296
+ type: GLenum,
297
+ offsetsList: Int32Array | Iterable<GLsizei>,
298
+ offsetsOffset: number,
299
+ instanceCountsList: Int32Array | Iterable<GLsizei>,
300
+ instanceCountsOffset: number,
301
+ drawcount: GLsizei,
302
+ ): void;
303
+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WEBGL_multi_draw/multiDrawElementsWEBGL) */
304
+ multiDrawElementsWEBGL(
305
+ mode: GLenum,
306
+ countsList: Int32Array | Iterable<GLsizei>,
307
+ countsOffset: number,
308
+ type: GLenum,
309
+ offsetsList: Int32Array | Iterable<GLsizei>,
310
+ offsetsOffset: number,
311
+ drawcount: GLsizei,
312
+ ): void;
313
+ }
314
+
315
+ interface WebGL2RenderingContextBase {
316
+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGL2RenderingContext/clearBuffer) */
317
+ clearBufferfv(
318
+ buffer: GLenum,
319
+ drawbuffer: GLint,
320
+ values: Iterable<GLfloat>,
321
+ srcOffset?: number,
322
+ ): void;
323
+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGL2RenderingContext/clearBuffer) */
324
+ clearBufferiv(
325
+ buffer: GLenum,
326
+ drawbuffer: GLint,
327
+ values: Iterable<GLint>,
328
+ srcOffset?: number,
329
+ ): void;
330
+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGL2RenderingContext/clearBuffer) */
331
+ clearBufferuiv(
332
+ buffer: GLenum,
333
+ drawbuffer: GLint,
334
+ values: Iterable<GLuint>,
335
+ srcOffset?: number,
336
+ ): void;
337
+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGL2RenderingContext/drawBuffers) */
338
+ drawBuffers(buffers: Iterable<GLenum>): void;
339
+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGL2RenderingContext/getActiveUniforms) */
340
+ getActiveUniforms(
341
+ program: WebGLProgram,
342
+ uniformIndices: Iterable<GLuint>,
343
+ pname: GLenum,
344
+ ): unknown;
345
+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGL2RenderingContext/getUniformIndices) */
346
+ getUniformIndices(
347
+ program: WebGLProgram,
348
+ uniformNames: Iterable<string>,
349
+ ): Iterable<GLuint> | null;
350
+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGL2RenderingContext/invalidateFramebuffer) */
351
+ invalidateFramebuffer(target: GLenum, attachments: Iterable<GLenum>): void;
352
+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGL2RenderingContext/invalidateSubFramebuffer) */
353
+ invalidateSubFramebuffer(
354
+ target: GLenum,
355
+ attachments: Iterable<GLenum>,
356
+ x: GLint,
357
+ y: GLint,
358
+ width: GLsizei,
359
+ height: GLsizei,
360
+ ): void;
361
+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGL2RenderingContext/transformFeedbackVaryings) */
362
+ transformFeedbackVaryings(
363
+ program: WebGLProgram,
364
+ varyings: Iterable<string>,
365
+ bufferMode: GLenum,
366
+ ): void;
367
+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGL2RenderingContext/uniform) */
368
+ uniform1uiv(
369
+ location: WebGLUniformLocation | null,
370
+ data: Iterable<GLuint>,
371
+ srcOffset?: number,
372
+ srcLength?: GLuint,
373
+ ): void;
374
+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGL2RenderingContext/uniform) */
375
+ uniform2uiv(
376
+ location: WebGLUniformLocation | null,
377
+ data: Iterable<GLuint>,
378
+ srcOffset?: number,
379
+ srcLength?: GLuint,
380
+ ): void;
381
+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGL2RenderingContext/uniform) */
382
+ uniform3uiv(
383
+ location: WebGLUniformLocation | null,
384
+ data: Iterable<GLuint>,
385
+ srcOffset?: number,
386
+ srcLength?: GLuint,
387
+ ): void;
388
+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGL2RenderingContext/uniform) */
389
+ uniform4uiv(
390
+ location: WebGLUniformLocation | null,
391
+ data: Iterable<GLuint>,
392
+ srcOffset?: number,
393
+ srcLength?: GLuint,
394
+ ): void;
395
+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGL2RenderingContext/uniformMatrix) */
396
+ uniformMatrix2x3fv(
397
+ location: WebGLUniformLocation | null,
398
+ transpose: GLboolean,
399
+ data: Iterable<GLfloat>,
400
+ srcOffset?: number,
401
+ srcLength?: GLuint,
402
+ ): void;
403
+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGL2RenderingContext/uniformMatrix) */
404
+ uniformMatrix2x4fv(
405
+ location: WebGLUniformLocation | null,
406
+ transpose: GLboolean,
407
+ data: Iterable<GLfloat>,
408
+ srcOffset?: number,
409
+ srcLength?: GLuint,
410
+ ): void;
411
+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGL2RenderingContext/uniformMatrix) */
412
+ uniformMatrix3x2fv(
413
+ location: WebGLUniformLocation | null,
414
+ transpose: GLboolean,
415
+ data: Iterable<GLfloat>,
416
+ srcOffset?: number,
417
+ srcLength?: GLuint,
418
+ ): void;
419
+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGL2RenderingContext/uniformMatrix) */
420
+ uniformMatrix3x4fv(
421
+ location: WebGLUniformLocation | null,
422
+ transpose: GLboolean,
423
+ data: Iterable<GLfloat>,
424
+ srcOffset?: number,
425
+ srcLength?: GLuint,
426
+ ): void;
427
+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGL2RenderingContext/uniformMatrix) */
428
+ uniformMatrix4x2fv(
429
+ location: WebGLUniformLocation | null,
430
+ transpose: GLboolean,
431
+ data: Iterable<GLfloat>,
432
+ srcOffset?: number,
433
+ srcLength?: GLuint,
434
+ ): void;
435
+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGL2RenderingContext/uniformMatrix) */
436
+ uniformMatrix4x3fv(
437
+ location: WebGLUniformLocation | null,
438
+ transpose: GLboolean,
439
+ data: Iterable<GLfloat>,
440
+ srcOffset?: number,
441
+ srcLength?: GLuint,
442
+ ): void;
443
+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGL2RenderingContext/vertexAttribI) */
444
+ vertexAttribI4iv(index: GLuint, values: Iterable<GLint>): void;
445
+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGL2RenderingContext/vertexAttribI) */
446
+ vertexAttribI4uiv(index: GLuint, values: Iterable<GLuint>): void;
447
+ }
448
+
449
+ interface WebGL2RenderingContextOverloads {
450
+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/uniform) */
451
+ uniform1fv(
452
+ location: WebGLUniformLocation | null,
453
+ data: Iterable<GLfloat>,
454
+ srcOffset?: number,
455
+ srcLength?: GLuint,
456
+ ): void;
457
+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/uniform) */
458
+ uniform1iv(
459
+ location: WebGLUniformLocation | null,
460
+ data: Iterable<GLint>,
461
+ srcOffset?: number,
462
+ srcLength?: GLuint,
463
+ ): void;
464
+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/uniform) */
465
+ uniform2fv(
466
+ location: WebGLUniformLocation | null,
467
+ data: Iterable<GLfloat>,
468
+ srcOffset?: number,
469
+ srcLength?: GLuint,
470
+ ): void;
471
+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/uniform) */
472
+ uniform2iv(
473
+ location: WebGLUniformLocation | null,
474
+ data: Iterable<GLint>,
475
+ srcOffset?: number,
476
+ srcLength?: GLuint,
477
+ ): void;
478
+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/uniform) */
479
+ uniform3fv(
480
+ location: WebGLUniformLocation | null,
481
+ data: Iterable<GLfloat>,
482
+ srcOffset?: number,
483
+ srcLength?: GLuint,
484
+ ): void;
485
+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/uniform) */
486
+ uniform3iv(
487
+ location: WebGLUniformLocation | null,
488
+ data: Iterable<GLint>,
489
+ srcOffset?: number,
490
+ srcLength?: GLuint,
491
+ ): void;
492
+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/uniform) */
493
+ uniform4fv(
494
+ location: WebGLUniformLocation | null,
495
+ data: Iterable<GLfloat>,
496
+ srcOffset?: number,
497
+ srcLength?: GLuint,
498
+ ): void;
499
+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/uniform) */
500
+ uniform4iv(
501
+ location: WebGLUniformLocation | null,
502
+ data: Iterable<GLint>,
503
+ srcOffset?: number,
504
+ srcLength?: GLuint,
505
+ ): void;
506
+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/uniformMatrix) */
507
+ uniformMatrix2fv(
508
+ location: WebGLUniformLocation | null,
509
+ transpose: GLboolean,
510
+ data: Iterable<GLfloat>,
511
+ srcOffset?: number,
512
+ srcLength?: GLuint,
513
+ ): void;
514
+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/uniformMatrix) */
515
+ uniformMatrix3fv(
516
+ location: WebGLUniformLocation | null,
517
+ transpose: GLboolean,
518
+ data: Iterable<GLfloat>,
519
+ srcOffset?: number,
520
+ srcLength?: GLuint,
521
+ ): void;
522
+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/uniformMatrix) */
523
+ uniformMatrix4fv(
524
+ location: WebGLUniformLocation | null,
525
+ transpose: GLboolean,
526
+ data: Iterable<GLfloat>,
527
+ srcOffset?: number,
528
+ srcLength?: GLuint,
529
+ ): void;
530
+ }
531
+
532
+ interface WebGLRenderingContextBase {
533
+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/vertexAttrib) */
534
+ vertexAttrib1fv(index: GLuint, values: Iterable<GLfloat>): void;
535
+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/vertexAttrib) */
536
+ vertexAttrib2fv(index: GLuint, values: Iterable<GLfloat>): void;
537
+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/vertexAttrib) */
538
+ vertexAttrib3fv(index: GLuint, values: Iterable<GLfloat>): void;
539
+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/vertexAttrib) */
540
+ vertexAttrib4fv(index: GLuint, values: Iterable<GLfloat>): void;
541
+ }
542
+
543
+ interface WebGLRenderingContextOverloads {
544
+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/uniform) */
545
+ uniform1fv(location: WebGLUniformLocation | null, v: Iterable<GLfloat>): void;
546
+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/uniform) */
547
+ uniform1iv(location: WebGLUniformLocation | null, v: Iterable<GLint>): void;
548
+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/uniform) */
549
+ uniform2fv(location: WebGLUniformLocation | null, v: Iterable<GLfloat>): void;
550
+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/uniform) */
551
+ uniform2iv(location: WebGLUniformLocation | null, v: Iterable<GLint>): void;
552
+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/uniform) */
553
+ uniform3fv(location: WebGLUniformLocation | null, v: Iterable<GLfloat>): void;
554
+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/uniform) */
555
+ uniform3iv(location: WebGLUniformLocation | null, v: Iterable<GLint>): void;
556
+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/uniform) */
557
+ uniform4fv(location: WebGLUniformLocation | null, v: Iterable<GLfloat>): void;
558
+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/uniform) */
559
+ uniform4iv(location: WebGLUniformLocation | null, v: Iterable<GLint>): void;
560
+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/uniformMatrix) */
561
+ uniformMatrix2fv(
562
+ location: WebGLUniformLocation | null,
563
+ transpose: GLboolean,
564
+ value: Iterable<GLfloat>,
565
+ ): void;
566
+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/uniformMatrix) */
567
+ uniformMatrix3fv(
568
+ location: WebGLUniformLocation | null,
569
+ transpose: GLboolean,
570
+ value: Iterable<GLfloat>,
571
+ ): void;
572
+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/uniformMatrix) */
573
+ uniformMatrix4fv(
574
+ location: WebGLUniformLocation | null,
575
+ transpose: GLboolean,
576
+ value: Iterable<GLfloat>,
577
+ ): void;
578
+ }
package/package.json ADDED
@@ -0,0 +1,23 @@
1
+ {
2
+ "name": "strict-ts-lib-v5.7",
3
+ "version": "0.4.0",
4
+ "private": false,
5
+ "description": "Strict TypeScript 5.7.2 standard library (all libs in one package)",
6
+ "license": "Apache-2.0",
7
+ "author": "noshiro-pf <noshiro.pf@gmail.com>",
8
+ "repository": {
9
+ "type": "git",
10
+ "url": "https://github.com/noshiro-pf/strict-typescript-lib.git"
11
+ },
12
+ "files": [
13
+ "libs"
14
+ ],
15
+ "type": "module",
16
+ "sideEffects": false,
17
+ "dependencies": {
18
+ "ts-type-forge": "^9.0.0"
19
+ },
20
+ "peerDependencies": {
21
+ "typescript": ">=5.7.0 <5.8.0"
22
+ }
23
+ }