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