strict-ts-lib-v5.9 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 (101) 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 +46522 -0
  6. package/libs/dom/iterable/index.d.ts +872 -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 +144 -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 +5845 -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/error/index.d.ts +8 -0
  89. package/libs/esnext/float16/index.d.ts +505 -0
  90. package/libs/esnext/full/index.d.ts +8 -0
  91. package/libs/esnext/index.d.ts +13 -0
  92. package/libs/esnext/intl/index.d.ts +5 -0
  93. package/libs/esnext/iterator/index.d.ts +172 -0
  94. package/libs/esnext/promise/index.d.ts +21 -0
  95. package/libs/esnext/sharedmemory/index.d.ts +9 -0
  96. package/libs/scripthost/index.d.ts +310 -0
  97. package/libs/webworker/asynciterable/index.d.ts +41 -0
  98. package/libs/webworker/importscripts/index.d.ts +7 -0
  99. package/libs/webworker/index.d.ts +15593 -0
  100. package/libs/webworker/iterable/index.d.ts +630 -0
  101. package/package.json +23 -0
@@ -0,0 +1,630 @@
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
+ /**
30
+ * The **`addAll()`** method of the Cache interface takes an array of URLs, retrieves them, and adds the resulting response objects to the given cache.
31
+ *
32
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Cache/addAll)
33
+ */
34
+ addAll(requests: Iterable<RequestInfo>): Promise<void>;
35
+ }
36
+
37
+ interface CanvasPath {
38
+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CanvasRenderingContext2D/roundRect) */
39
+ roundRect(
40
+ x: number,
41
+ y: number,
42
+ w: number,
43
+ h: number,
44
+ radii?: number | DOMPointInit | Iterable<number | DOMPointInit>,
45
+ ): void;
46
+ }
47
+
48
+ interface CanvasPathDrawingStyles {
49
+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CanvasRenderingContext2D/setLineDash) */
50
+ setLineDash(segments: Iterable<number>): void;
51
+ }
52
+
53
+ interface CookieStoreManager {
54
+ /**
55
+ * The **`subscribe()`** method of the CookieStoreManager interface subscribes a ServiceWorkerRegistration to cookie change events.
56
+ *
57
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/CookieStoreManager/subscribe)
58
+ */
59
+ subscribe(subscriptions: Iterable<CookieStoreGetOptions>): Promise<void>;
60
+ /**
61
+ * The **`unsubscribe()`** method of the CookieStoreManager interface stops the ServiceWorkerRegistration from receiving previously subscribed events.
62
+ *
63
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/CookieStoreManager/unsubscribe)
64
+ */
65
+ unsubscribe(subscriptions: Iterable<CookieStoreGetOptions>): Promise<void>;
66
+ }
67
+
68
+ interface DOMStringList {
69
+ [Symbol.iterator](): ArrayIterator<string>;
70
+ }
71
+
72
+ interface FileList {
73
+ [Symbol.iterator](): ArrayIterator<File>;
74
+ }
75
+
76
+ interface FontFaceSet extends Set<FontFace> {}
77
+
78
+ interface FormDataIterator<T> extends IteratorObject<
79
+ T,
80
+ BuiltinIteratorReturn,
81
+ unknown
82
+ > {
83
+ [Symbol.iterator](): FormDataIterator<T>;
84
+ }
85
+
86
+ interface FormData {
87
+ [Symbol.iterator](): FormDataIterator<readonly [string, FormDataEntryValue]>;
88
+ /** Returns an array of key, value pairs for every entry in the list. */
89
+ entries(): FormDataIterator<readonly [string, FormDataEntryValue]>;
90
+ /** Returns a list of keys in the list. */
91
+ keys(): FormDataIterator<string>;
92
+ /** Returns a list of values in the list. */
93
+ values(): FormDataIterator<FormDataEntryValue>;
94
+ }
95
+
96
+ interface HeadersIterator<T> extends IteratorObject<
97
+ T,
98
+ BuiltinIteratorReturn,
99
+ unknown
100
+ > {
101
+ [Symbol.iterator](): HeadersIterator<T>;
102
+ }
103
+
104
+ interface Headers {
105
+ [Symbol.iterator](): HeadersIterator<readonly [string, string]>;
106
+ /** Returns an iterator allowing to go through all key/value pairs contained in this object. */
107
+ entries(): HeadersIterator<readonly [string, string]>;
108
+ /** Returns an iterator allowing to go through all keys of the key/value pairs contained in this object. */
109
+ keys(): HeadersIterator<string>;
110
+ /** Returns an iterator allowing to go through all values of the key/value pairs contained in this object. */
111
+ values(): HeadersIterator<string>;
112
+ }
113
+
114
+ interface IDBDatabase {
115
+ /**
116
+ * The **`transaction`** method of the IDBDatabase interface immediately returns a transaction object (IDBTransaction) containing the IDBTransaction.objectStore method, which you can use to access your object store.
117
+ *
118
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/IDBDatabase/transaction)
119
+ */
120
+ transaction(
121
+ storeNames: string | Iterable<string>,
122
+ mode?: IDBTransactionMode,
123
+ options?: IDBTransactionOptions,
124
+ ): IDBTransaction;
125
+ }
126
+
127
+ interface IDBObjectStore {
128
+ /**
129
+ * The **`createIndex()`** method of the field/column defining a new data point for each database record to contain.
130
+ *
131
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/IDBObjectStore/createIndex)
132
+ */
133
+ createIndex(
134
+ name: string,
135
+ keyPath: string | Iterable<string>,
136
+ options?: IDBIndexParameters,
137
+ ): IDBIndex;
138
+ }
139
+
140
+ interface ImageTrackList {
141
+ [Symbol.iterator](): ArrayIterator<ImageTrack>;
142
+ }
143
+
144
+ interface MessageEvent<T = unknown> {
145
+ /** @deprecated */
146
+ initMessageEvent(
147
+ type: string,
148
+ bubbles?: boolean,
149
+ cancelable?: boolean,
150
+ data?: unknown,
151
+ origin?: string,
152
+ lastEventId?: string,
153
+ source?: MessageEventSource | null,
154
+ ports?: Iterable<MessagePort>,
155
+ ): void;
156
+ }
157
+
158
+ interface StylePropertyMapReadOnlyIterator<T> extends IteratorObject<
159
+ T,
160
+ BuiltinIteratorReturn,
161
+ unknown
162
+ > {
163
+ [Symbol.iterator](): StylePropertyMapReadOnlyIterator<T>;
164
+ }
165
+
166
+ interface StylePropertyMapReadOnly {
167
+ [Symbol.iterator](): StylePropertyMapReadOnlyIterator<
168
+ readonly [string, Iterable<CSSStyleValue>]
169
+ >;
170
+ entries(): StylePropertyMapReadOnlyIterator<
171
+ readonly [string, Iterable<CSSStyleValue>]
172
+ >;
173
+ keys(): StylePropertyMapReadOnlyIterator<string>;
174
+ values(): StylePropertyMapReadOnlyIterator<Iterable<CSSStyleValue>>;
175
+ }
176
+
177
+ interface SubtleCrypto {
178
+ /**
179
+ * The **`deriveKey()`** method of the SubtleCrypto interface can be used to derive a secret key from a master key.
180
+ *
181
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/SubtleCrypto/deriveKey)
182
+ */
183
+ deriveKey(
184
+ algorithm:
185
+ | AlgorithmIdentifier
186
+ | EcdhKeyDeriveParams
187
+ | HkdfParams
188
+ | Pbkdf2Params,
189
+ baseKey: CryptoKey,
190
+ derivedKeyType:
191
+ | AlgorithmIdentifier
192
+ | AesDerivedKeyParams
193
+ | HmacImportParams
194
+ | HkdfParams
195
+ | Pbkdf2Params,
196
+ extractable: boolean,
197
+ keyUsages: Iterable<KeyUsage>,
198
+ ): Promise<CryptoKey>;
199
+ /**
200
+ * The **`generateKey()`** method of the SubtleCrypto interface is used to generate a new key (for symmetric algorithms) or key pair (for public-key algorithms).
201
+ *
202
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/SubtleCrypto/generateKey)
203
+ */
204
+ generateKey(
205
+ algorithm: 'Ed25519' | { readonly name: 'Ed25519' },
206
+ extractable: boolean,
207
+ keyUsages: ReadonlyArray<'sign' | 'verify'>,
208
+ ): Promise<CryptoKeyPair>;
209
+ generateKey(
210
+ algorithm: RsaHashedKeyGenParams | EcKeyGenParams,
211
+ extractable: boolean,
212
+ keyUsages: ReadonlyArray<KeyUsage>,
213
+ ): Promise<CryptoKeyPair>;
214
+ generateKey(
215
+ algorithm: AesKeyGenParams | HmacKeyGenParams | Pbkdf2Params,
216
+ extractable: boolean,
217
+ keyUsages: ReadonlyArray<KeyUsage>,
218
+ ): Promise<CryptoKey>;
219
+ generateKey(
220
+ algorithm: AlgorithmIdentifier,
221
+ extractable: boolean,
222
+ keyUsages: Iterable<KeyUsage>,
223
+ ): Promise<CryptoKeyPair | CryptoKey>;
224
+ /**
225
+ * The **`importKey()`** method of the SubtleCrypto interface imports a key: that is, it takes as input a key in an external, portable format and gives you a CryptoKey object that you can use in the Web Crypto API.
226
+ *
227
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/SubtleCrypto/importKey)
228
+ */
229
+ importKey(
230
+ format: 'jwk',
231
+ keyData: JsonWebKey,
232
+ algorithm:
233
+ | AlgorithmIdentifier
234
+ | RsaHashedImportParams
235
+ | EcKeyImportParams
236
+ | HmacImportParams
237
+ | AesKeyAlgorithm,
238
+ extractable: boolean,
239
+ keyUsages: ReadonlyArray<KeyUsage>,
240
+ ): Promise<CryptoKey>;
241
+ importKey(
242
+ format: Exclude<KeyFormat, 'jwk'>,
243
+ keyData: BufferSource,
244
+ algorithm:
245
+ | AlgorithmIdentifier
246
+ | RsaHashedImportParams
247
+ | EcKeyImportParams
248
+ | HmacImportParams
249
+ | AesKeyAlgorithm,
250
+ extractable: boolean,
251
+ keyUsages: Iterable<KeyUsage>,
252
+ ): Promise<CryptoKey>;
253
+ /**
254
+ * The **`unwrapKey()`** method of the SubtleCrypto interface 'unwraps' a key.
255
+ *
256
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/SubtleCrypto/unwrapKey)
257
+ */
258
+ unwrapKey(
259
+ format: KeyFormat,
260
+ wrappedKey: BufferSource,
261
+ unwrappingKey: CryptoKey,
262
+ unwrapAlgorithm:
263
+ | AlgorithmIdentifier
264
+ | RsaOaepParams
265
+ | AesCtrParams
266
+ | AesCbcParams
267
+ | AesGcmParams,
268
+ unwrappedKeyAlgorithm:
269
+ | AlgorithmIdentifier
270
+ | RsaHashedImportParams
271
+ | EcKeyImportParams
272
+ | HmacImportParams
273
+ | AesKeyAlgorithm,
274
+ extractable: boolean,
275
+ keyUsages: Iterable<KeyUsage>,
276
+ ): Promise<CryptoKey>;
277
+ }
278
+
279
+ interface URLSearchParamsIterator<T> extends IteratorObject<
280
+ T,
281
+ BuiltinIteratorReturn,
282
+ unknown
283
+ > {
284
+ [Symbol.iterator](): URLSearchParamsIterator<T>;
285
+ }
286
+
287
+ interface URLSearchParams {
288
+ [Symbol.iterator](): URLSearchParamsIterator<readonly [string, string]>;
289
+ /** Returns an array of key, value pairs for every entry in the search params. */
290
+ entries(): URLSearchParamsIterator<readonly [string, string]>;
291
+ /** Returns a list of keys in the search params. */
292
+ keys(): URLSearchParamsIterator<string>;
293
+ /** Returns a list of values in the search params. */
294
+ values(): URLSearchParamsIterator<string>;
295
+ }
296
+
297
+ interface WEBGL_draw_buffers {
298
+ /**
299
+ * The **`WEBGL_draw_buffers.drawBuffersWEBGL()`** method is part of the WebGL API and allows you to define the draw buffers to which all fragment colors are written.
300
+ *
301
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/WEBGL_draw_buffers/drawBuffersWEBGL)
302
+ */
303
+ drawBuffersWEBGL(buffers: Iterable<GLenum>): void;
304
+ }
305
+
306
+ interface WEBGL_multi_draw {
307
+ /**
308
+ * The **`WEBGL_multi_draw.multiDrawArraysInstancedWEBGL()`** method of the WebGL API renders multiple primitives from array data.
309
+ *
310
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/WEBGL_multi_draw/multiDrawArraysInstancedWEBGL)
311
+ */
312
+ multiDrawArraysInstancedWEBGL(
313
+ mode: GLenum,
314
+ firstsList: Int32Array<ArrayBufferLike> | Iterable<GLint>,
315
+ firstsOffset: number,
316
+ countsList: Int32Array<ArrayBufferLike> | Iterable<GLsizei>,
317
+ countsOffset: number,
318
+ instanceCountsList: Int32Array<ArrayBufferLike> | Iterable<GLsizei>,
319
+ instanceCountsOffset: number,
320
+ drawcount: GLsizei,
321
+ ): void;
322
+ /**
323
+ * The **`WEBGL_multi_draw.multiDrawArraysWEBGL()`** method of the WebGL API renders multiple primitives from array data.
324
+ *
325
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/WEBGL_multi_draw/multiDrawArraysWEBGL)
326
+ */
327
+ multiDrawArraysWEBGL(
328
+ mode: GLenum,
329
+ firstsList: Int32Array<ArrayBufferLike> | Iterable<GLint>,
330
+ firstsOffset: number,
331
+ countsList: Int32Array<ArrayBufferLike> | Iterable<GLsizei>,
332
+ countsOffset: number,
333
+ drawcount: GLsizei,
334
+ ): void;
335
+ /**
336
+ * The **`WEBGL_multi_draw.multiDrawElementsInstancedWEBGL()`** method of the WebGL API renders multiple primitives from array data.
337
+ *
338
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/WEBGL_multi_draw/multiDrawElementsInstancedWEBGL)
339
+ */
340
+ multiDrawElementsInstancedWEBGL(
341
+ mode: GLenum,
342
+ countsList: Int32Array<ArrayBufferLike> | Iterable<GLsizei>,
343
+ countsOffset: number,
344
+ type: GLenum,
345
+ offsetsList: Int32Array<ArrayBufferLike> | Iterable<GLsizei>,
346
+ offsetsOffset: number,
347
+ instanceCountsList: Int32Array<ArrayBufferLike> | Iterable<GLsizei>,
348
+ instanceCountsOffset: number,
349
+ drawcount: GLsizei,
350
+ ): void;
351
+ /**
352
+ * The **`WEBGL_multi_draw.multiDrawElementsWEBGL()`** method of the WebGL API renders multiple primitives from array data.
353
+ *
354
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/WEBGL_multi_draw/multiDrawElementsWEBGL)
355
+ */
356
+ multiDrawElementsWEBGL(
357
+ mode: GLenum,
358
+ countsList: Int32Array<ArrayBufferLike> | Iterable<GLsizei>,
359
+ countsOffset: number,
360
+ type: GLenum,
361
+ offsetsList: Int32Array<ArrayBufferLike> | Iterable<GLsizei>,
362
+ offsetsOffset: number,
363
+ drawcount: GLsizei,
364
+ ): void;
365
+ }
366
+
367
+ interface WebGL2RenderingContextBase {
368
+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGL2RenderingContext/clearBuffer) */
369
+ clearBufferfv(
370
+ buffer: GLenum,
371
+ drawbuffer: GLint,
372
+ values: Iterable<GLfloat>,
373
+ srcOffset?: number,
374
+ ): void;
375
+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGL2RenderingContext/clearBuffer) */
376
+ clearBufferiv(
377
+ buffer: GLenum,
378
+ drawbuffer: GLint,
379
+ values: Iterable<GLint>,
380
+ srcOffset?: number,
381
+ ): void;
382
+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGL2RenderingContext/clearBuffer) */
383
+ clearBufferuiv(
384
+ buffer: GLenum,
385
+ drawbuffer: GLint,
386
+ values: Iterable<GLuint>,
387
+ srcOffset?: number,
388
+ ): void;
389
+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGL2RenderingContext/drawBuffers) */
390
+ drawBuffers(buffers: Iterable<GLenum>): void;
391
+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGL2RenderingContext/getActiveUniforms) */
392
+ getActiveUniforms(
393
+ program: WebGLProgram,
394
+ uniformIndices: Iterable<GLuint>,
395
+ pname: GLenum,
396
+ ): unknown;
397
+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGL2RenderingContext/getUniformIndices) */
398
+ getUniformIndices(
399
+ program: WebGLProgram,
400
+ uniformNames: Iterable<string>,
401
+ ): GLuint[] | null;
402
+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGL2RenderingContext/invalidateFramebuffer) */
403
+ invalidateFramebuffer(target: GLenum, attachments: Iterable<GLenum>): void;
404
+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGL2RenderingContext/invalidateSubFramebuffer) */
405
+ invalidateSubFramebuffer(
406
+ target: GLenum,
407
+ attachments: Iterable<GLenum>,
408
+ x: GLint,
409
+ y: GLint,
410
+ width: GLsizei,
411
+ height: GLsizei,
412
+ ): void;
413
+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGL2RenderingContext/transformFeedbackVaryings) */
414
+ transformFeedbackVaryings(
415
+ program: WebGLProgram,
416
+ varyings: Iterable<string>,
417
+ bufferMode: GLenum,
418
+ ): void;
419
+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGL2RenderingContext/uniform) */
420
+ uniform1uiv(
421
+ location: WebGLUniformLocation | null,
422
+ data: Iterable<GLuint>,
423
+ srcOffset?: number,
424
+ srcLength?: GLuint,
425
+ ): void;
426
+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGL2RenderingContext/uniform) */
427
+ uniform2uiv(
428
+ location: WebGLUniformLocation | null,
429
+ data: Iterable<GLuint>,
430
+ srcOffset?: number,
431
+ srcLength?: GLuint,
432
+ ): void;
433
+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGL2RenderingContext/uniform) */
434
+ uniform3uiv(
435
+ location: WebGLUniformLocation | null,
436
+ data: Iterable<GLuint>,
437
+ srcOffset?: number,
438
+ srcLength?: GLuint,
439
+ ): void;
440
+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGL2RenderingContext/uniform) */
441
+ uniform4uiv(
442
+ location: WebGLUniformLocation | null,
443
+ data: Iterable<GLuint>,
444
+ srcOffset?: number,
445
+ srcLength?: GLuint,
446
+ ): void;
447
+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGL2RenderingContext/uniformMatrix) */
448
+ uniformMatrix2x3fv(
449
+ location: WebGLUniformLocation | null,
450
+ transpose: GLboolean,
451
+ data: Iterable<GLfloat>,
452
+ srcOffset?: number,
453
+ srcLength?: GLuint,
454
+ ): void;
455
+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGL2RenderingContext/uniformMatrix) */
456
+ uniformMatrix2x4fv(
457
+ location: WebGLUniformLocation | null,
458
+ transpose: GLboolean,
459
+ data: Iterable<GLfloat>,
460
+ srcOffset?: number,
461
+ srcLength?: GLuint,
462
+ ): void;
463
+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGL2RenderingContext/uniformMatrix) */
464
+ uniformMatrix3x2fv(
465
+ location: WebGLUniformLocation | null,
466
+ transpose: GLboolean,
467
+ data: Iterable<GLfloat>,
468
+ srcOffset?: number,
469
+ srcLength?: GLuint,
470
+ ): void;
471
+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGL2RenderingContext/uniformMatrix) */
472
+ uniformMatrix3x4fv(
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/WebGL2RenderingContext/uniformMatrix) */
480
+ uniformMatrix4x2fv(
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/WebGL2RenderingContext/uniformMatrix) */
488
+ uniformMatrix4x3fv(
489
+ location: WebGLUniformLocation | null,
490
+ transpose: GLboolean,
491
+ data: Iterable<GLfloat>,
492
+ srcOffset?: number,
493
+ srcLength?: GLuint,
494
+ ): void;
495
+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGL2RenderingContext/vertexAttribI) */
496
+ vertexAttribI4iv(index: GLuint, values: Iterable<GLint>): void;
497
+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGL2RenderingContext/vertexAttribI) */
498
+ vertexAttribI4uiv(index: GLuint, values: Iterable<GLuint>): void;
499
+ }
500
+
501
+ interface WebGL2RenderingContextOverloads {
502
+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/uniform) */
503
+ uniform1fv(
504
+ location: WebGLUniformLocation | null,
505
+ data: Iterable<GLfloat>,
506
+ srcOffset?: number,
507
+ srcLength?: GLuint,
508
+ ): void;
509
+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/uniform) */
510
+ uniform1iv(
511
+ location: WebGLUniformLocation | null,
512
+ data: Iterable<GLint>,
513
+ srcOffset?: number,
514
+ srcLength?: GLuint,
515
+ ): void;
516
+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/uniform) */
517
+ uniform2fv(
518
+ location: WebGLUniformLocation | null,
519
+ data: Iterable<GLfloat>,
520
+ srcOffset?: number,
521
+ srcLength?: GLuint,
522
+ ): void;
523
+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/uniform) */
524
+ uniform2iv(
525
+ location: WebGLUniformLocation | null,
526
+ data: Iterable<GLint>,
527
+ srcOffset?: number,
528
+ srcLength?: GLuint,
529
+ ): void;
530
+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/uniform) */
531
+ uniform3fv(
532
+ location: WebGLUniformLocation | null,
533
+ data: Iterable<GLfloat>,
534
+ srcOffset?: number,
535
+ srcLength?: GLuint,
536
+ ): void;
537
+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/uniform) */
538
+ uniform3iv(
539
+ location: WebGLUniformLocation | null,
540
+ data: Iterable<GLint>,
541
+ srcOffset?: number,
542
+ srcLength?: GLuint,
543
+ ): void;
544
+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/uniform) */
545
+ uniform4fv(
546
+ location: WebGLUniformLocation | null,
547
+ data: Iterable<GLfloat>,
548
+ srcOffset?: number,
549
+ srcLength?: GLuint,
550
+ ): void;
551
+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/uniform) */
552
+ uniform4iv(
553
+ location: WebGLUniformLocation | null,
554
+ data: Iterable<GLint>,
555
+ srcOffset?: number,
556
+ srcLength?: GLuint,
557
+ ): void;
558
+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGL2RenderingContext/uniformMatrix) */
559
+ uniformMatrix2fv(
560
+ location: WebGLUniformLocation | null,
561
+ transpose: GLboolean,
562
+ data: Iterable<GLfloat>,
563
+ srcOffset?: number,
564
+ srcLength?: GLuint,
565
+ ): void;
566
+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/uniformMatrix) */
567
+ uniformMatrix3fv(
568
+ location: WebGLUniformLocation | null,
569
+ transpose: GLboolean,
570
+ data: Iterable<GLfloat>,
571
+ srcOffset?: number,
572
+ srcLength?: GLuint,
573
+ ): void;
574
+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/uniformMatrix) */
575
+ uniformMatrix4fv(
576
+ location: WebGLUniformLocation | null,
577
+ transpose: GLboolean,
578
+ data: Iterable<GLfloat>,
579
+ srcOffset?: number,
580
+ srcLength?: GLuint,
581
+ ): void;
582
+ }
583
+
584
+ interface WebGLRenderingContextBase {
585
+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/vertexAttrib) */
586
+ vertexAttrib1fv(index: GLuint, values: Iterable<GLfloat>): void;
587
+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/vertexAttrib) */
588
+ vertexAttrib2fv(index: GLuint, values: Iterable<GLfloat>): void;
589
+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/vertexAttrib) */
590
+ vertexAttrib3fv(index: GLuint, values: Iterable<GLfloat>): void;
591
+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/vertexAttrib) */
592
+ vertexAttrib4fv(index: GLuint, values: Iterable<GLfloat>): void;
593
+ }
594
+
595
+ interface WebGLRenderingContextOverloads {
596
+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/uniform) */
597
+ uniform1fv(location: WebGLUniformLocation | null, v: Iterable<GLfloat>): void;
598
+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/uniform) */
599
+ uniform1iv(location: WebGLUniformLocation | null, v: Iterable<GLint>): void;
600
+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/uniform) */
601
+ uniform2fv(location: WebGLUniformLocation | null, v: Iterable<GLfloat>): void;
602
+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/uniform) */
603
+ uniform2iv(location: WebGLUniformLocation | null, v: Iterable<GLint>): void;
604
+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/uniform) */
605
+ uniform3fv(location: WebGLUniformLocation | null, v: Iterable<GLfloat>): void;
606
+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/uniform) */
607
+ uniform3iv(location: WebGLUniformLocation | null, v: Iterable<GLint>): void;
608
+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/uniform) */
609
+ uniform4fv(location: WebGLUniformLocation | null, v: Iterable<GLfloat>): void;
610
+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/uniform) */
611
+ uniform4iv(location: WebGLUniformLocation | null, v: Iterable<GLint>): void;
612
+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/uniformMatrix) */
613
+ uniformMatrix2fv(
614
+ location: WebGLUniformLocation | null,
615
+ transpose: GLboolean,
616
+ value: Iterable<GLfloat>,
617
+ ): void;
618
+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/uniformMatrix) */
619
+ uniformMatrix3fv(
620
+ location: WebGLUniformLocation | null,
621
+ transpose: GLboolean,
622
+ value: Iterable<GLfloat>,
623
+ ): void;
624
+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/uniformMatrix) */
625
+ uniformMatrix4fv(
626
+ location: WebGLUniformLocation | null,
627
+ transpose: GLboolean,
628
+ value: Iterable<GLfloat>,
629
+ ): void;
630
+ }
package/package.json ADDED
@@ -0,0 +1,23 @@
1
+ {
2
+ "name": "strict-ts-lib-v5.9",
3
+ "version": "0.4.0",
4
+ "private": false,
5
+ "description": "Strict TypeScript 5.9.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.9.0 <6.0.0"
22
+ }
23
+ }