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