@typescript-deploys/pr-build 5.4.0-pr-57040-6 → 5.4.0-pr-57008-39
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.
- package/lib/lib.dom.d.ts +271 -142
- package/lib/lib.dom.iterable.d.ts +34 -28
- package/lib/lib.es5.d.ts +5 -0
- package/lib/lib.webworker.d.ts +108 -99
- package/lib/lib.webworker.iterable.d.ts +28 -28
- package/lib/tsc.js +185 -329
- package/lib/tsserver.js +207 -337
- package/lib/typescript.js +207 -337
- package/lib/typingsInstaller.js +49 -24
- package/package.json +2 -2
|
@@ -152,6 +152,12 @@ interface Headers {
|
|
|
152
152
|
values(): IterableIterator<string>;
|
|
153
153
|
}
|
|
154
154
|
|
|
155
|
+
interface Highlight extends Set<AbstractRange> {
|
|
156
|
+
}
|
|
157
|
+
|
|
158
|
+
interface HighlightRegistry extends Map<string, Highlight> {
|
|
159
|
+
}
|
|
160
|
+
|
|
155
161
|
interface IDBDatabase {
|
|
156
162
|
/**
|
|
157
163
|
* 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.
|
|
@@ -345,22 +351,22 @@ interface WEBGL_draw_buffers {
|
|
|
345
351
|
|
|
346
352
|
interface WEBGL_multi_draw {
|
|
347
353
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WEBGL_multi_draw/multiDrawArraysInstancedWEBGL) */
|
|
348
|
-
multiDrawArraysInstancedWEBGL(mode: GLenum, firstsList: Int32Array | Iterable<GLint>, firstsOffset:
|
|
354
|
+
multiDrawArraysInstancedWEBGL(mode: GLenum, firstsList: Int32Array | Iterable<GLint>, firstsOffset: number, countsList: Int32Array | Iterable<GLsizei>, countsOffset: number, instanceCountsList: Int32Array | Iterable<GLsizei>, instanceCountsOffset: number, drawcount: GLsizei): void;
|
|
349
355
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WEBGL_multi_draw/multiDrawArraysWEBGL) */
|
|
350
|
-
multiDrawArraysWEBGL(mode: GLenum, firstsList: Int32Array | Iterable<GLint>, firstsOffset:
|
|
356
|
+
multiDrawArraysWEBGL(mode: GLenum, firstsList: Int32Array | Iterable<GLint>, firstsOffset: number, countsList: Int32Array | Iterable<GLsizei>, countsOffset: number, drawcount: GLsizei): void;
|
|
351
357
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WEBGL_multi_draw/multiDrawElementsInstancedWEBGL) */
|
|
352
|
-
multiDrawElementsInstancedWEBGL(mode: GLenum, countsList: Int32Array | Iterable<GLsizei>, countsOffset:
|
|
358
|
+
multiDrawElementsInstancedWEBGL(mode: GLenum, countsList: Int32Array | Iterable<GLsizei>, countsOffset: number, type: GLenum, offsetsList: Int32Array | Iterable<GLsizei>, offsetsOffset: number, instanceCountsList: Int32Array | Iterable<GLsizei>, instanceCountsOffset: number, drawcount: GLsizei): void;
|
|
353
359
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WEBGL_multi_draw/multiDrawElementsWEBGL) */
|
|
354
|
-
multiDrawElementsWEBGL(mode: GLenum, countsList: Int32Array | Iterable<GLsizei>, countsOffset:
|
|
360
|
+
multiDrawElementsWEBGL(mode: GLenum, countsList: Int32Array | Iterable<GLsizei>, countsOffset: number, type: GLenum, offsetsList: Int32Array | Iterable<GLsizei>, offsetsOffset: number, drawcount: GLsizei): void;
|
|
355
361
|
}
|
|
356
362
|
|
|
357
363
|
interface WebGL2RenderingContextBase {
|
|
358
364
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGL2RenderingContext/clearBuffer) */
|
|
359
|
-
clearBufferfv(buffer: GLenum, drawbuffer: GLint, values: Iterable<GLfloat>, srcOffset?:
|
|
365
|
+
clearBufferfv(buffer: GLenum, drawbuffer: GLint, values: Iterable<GLfloat>, srcOffset?: number): void;
|
|
360
366
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGL2RenderingContext/clearBuffer) */
|
|
361
|
-
clearBufferiv(buffer: GLenum, drawbuffer: GLint, values: Iterable<GLint>, srcOffset?:
|
|
367
|
+
clearBufferiv(buffer: GLenum, drawbuffer: GLint, values: Iterable<GLint>, srcOffset?: number): void;
|
|
362
368
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGL2RenderingContext/clearBuffer) */
|
|
363
|
-
clearBufferuiv(buffer: GLenum, drawbuffer: GLint, values: Iterable<GLuint>, srcOffset?:
|
|
369
|
+
clearBufferuiv(buffer: GLenum, drawbuffer: GLint, values: Iterable<GLuint>, srcOffset?: number): void;
|
|
364
370
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGL2RenderingContext/drawBuffers) */
|
|
365
371
|
drawBuffers(buffers: Iterable<GLenum>): void;
|
|
366
372
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGL2RenderingContext/getActiveUniforms) */
|
|
@@ -374,25 +380,25 @@ interface WebGL2RenderingContextBase {
|
|
|
374
380
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGL2RenderingContext/transformFeedbackVaryings) */
|
|
375
381
|
transformFeedbackVaryings(program: WebGLProgram, varyings: Iterable<string>, bufferMode: GLenum): void;
|
|
376
382
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGL2RenderingContext/uniform) */
|
|
377
|
-
uniform1uiv(location: WebGLUniformLocation | null, data: Iterable<GLuint>, srcOffset?:
|
|
383
|
+
uniform1uiv(location: WebGLUniformLocation | null, data: Iterable<GLuint>, srcOffset?: number, srcLength?: GLuint): void;
|
|
378
384
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGL2RenderingContext/uniform) */
|
|
379
|
-
uniform2uiv(location: WebGLUniformLocation | null, data: Iterable<GLuint>, srcOffset?:
|
|
385
|
+
uniform2uiv(location: WebGLUniformLocation | null, data: Iterable<GLuint>, srcOffset?: number, srcLength?: GLuint): void;
|
|
380
386
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGL2RenderingContext/uniform) */
|
|
381
|
-
uniform3uiv(location: WebGLUniformLocation | null, data: Iterable<GLuint>, srcOffset?:
|
|
387
|
+
uniform3uiv(location: WebGLUniformLocation | null, data: Iterable<GLuint>, srcOffset?: number, srcLength?: GLuint): void;
|
|
382
388
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGL2RenderingContext/uniform) */
|
|
383
|
-
uniform4uiv(location: WebGLUniformLocation | null, data: Iterable<GLuint>, srcOffset?:
|
|
389
|
+
uniform4uiv(location: WebGLUniformLocation | null, data: Iterable<GLuint>, srcOffset?: number, srcLength?: GLuint): void;
|
|
384
390
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGL2RenderingContext/uniformMatrix) */
|
|
385
|
-
uniformMatrix2x3fv(location: WebGLUniformLocation | null, transpose: GLboolean, data: Iterable<GLfloat>, srcOffset?:
|
|
391
|
+
uniformMatrix2x3fv(location: WebGLUniformLocation | null, transpose: GLboolean, data: Iterable<GLfloat>, srcOffset?: number, srcLength?: GLuint): void;
|
|
386
392
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGL2RenderingContext/uniformMatrix) */
|
|
387
|
-
uniformMatrix2x4fv(location: WebGLUniformLocation | null, transpose: GLboolean, data: Iterable<GLfloat>, srcOffset?:
|
|
393
|
+
uniformMatrix2x4fv(location: WebGLUniformLocation | null, transpose: GLboolean, data: Iterable<GLfloat>, srcOffset?: number, srcLength?: GLuint): void;
|
|
388
394
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGL2RenderingContext/uniformMatrix) */
|
|
389
|
-
uniformMatrix3x2fv(location: WebGLUniformLocation | null, transpose: GLboolean, data: Iterable<GLfloat>, srcOffset?:
|
|
395
|
+
uniformMatrix3x2fv(location: WebGLUniformLocation | null, transpose: GLboolean, data: Iterable<GLfloat>, srcOffset?: number, srcLength?: GLuint): void;
|
|
390
396
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGL2RenderingContext/uniformMatrix) */
|
|
391
|
-
uniformMatrix3x4fv(location: WebGLUniformLocation | null, transpose: GLboolean, data: Iterable<GLfloat>, srcOffset?:
|
|
397
|
+
uniformMatrix3x4fv(location: WebGLUniformLocation | null, transpose: GLboolean, data: Iterable<GLfloat>, srcOffset?: number, srcLength?: GLuint): void;
|
|
392
398
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGL2RenderingContext/uniformMatrix) */
|
|
393
|
-
uniformMatrix4x2fv(location: WebGLUniformLocation | null, transpose: GLboolean, data: Iterable<GLfloat>, srcOffset?:
|
|
399
|
+
uniformMatrix4x2fv(location: WebGLUniformLocation | null, transpose: GLboolean, data: Iterable<GLfloat>, srcOffset?: number, srcLength?: GLuint): void;
|
|
394
400
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGL2RenderingContext/uniformMatrix) */
|
|
395
|
-
uniformMatrix4x3fv(location: WebGLUniformLocation | null, transpose: GLboolean, data: Iterable<GLfloat>, srcOffset?:
|
|
401
|
+
uniformMatrix4x3fv(location: WebGLUniformLocation | null, transpose: GLboolean, data: Iterable<GLfloat>, srcOffset?: number, srcLength?: GLuint): void;
|
|
396
402
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGL2RenderingContext/vertexAttribI) */
|
|
397
403
|
vertexAttribI4iv(index: GLuint, values: Iterable<GLint>): void;
|
|
398
404
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGL2RenderingContext/vertexAttribI) */
|
|
@@ -401,27 +407,27 @@ interface WebGL2RenderingContextBase {
|
|
|
401
407
|
|
|
402
408
|
interface WebGL2RenderingContextOverloads {
|
|
403
409
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/uniform) */
|
|
404
|
-
uniform1fv(location: WebGLUniformLocation | null, data: Iterable<GLfloat>, srcOffset?:
|
|
410
|
+
uniform1fv(location: WebGLUniformLocation | null, data: Iterable<GLfloat>, srcOffset?: number, srcLength?: GLuint): void;
|
|
405
411
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/uniform) */
|
|
406
|
-
uniform1iv(location: WebGLUniformLocation | null, data: Iterable<GLint>, srcOffset?:
|
|
412
|
+
uniform1iv(location: WebGLUniformLocation | null, data: Iterable<GLint>, srcOffset?: number, srcLength?: GLuint): void;
|
|
407
413
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/uniform) */
|
|
408
|
-
uniform2fv(location: WebGLUniformLocation | null, data: Iterable<GLfloat>, srcOffset?:
|
|
414
|
+
uniform2fv(location: WebGLUniformLocation | null, data: Iterable<GLfloat>, srcOffset?: number, srcLength?: GLuint): void;
|
|
409
415
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/uniform) */
|
|
410
|
-
uniform2iv(location: WebGLUniformLocation | null, data: Iterable<GLint>, srcOffset?:
|
|
416
|
+
uniform2iv(location: WebGLUniformLocation | null, data: Iterable<GLint>, srcOffset?: number, srcLength?: GLuint): void;
|
|
411
417
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/uniform) */
|
|
412
|
-
uniform3fv(location: WebGLUniformLocation | null, data: Iterable<GLfloat>, srcOffset?:
|
|
418
|
+
uniform3fv(location: WebGLUniformLocation | null, data: Iterable<GLfloat>, srcOffset?: number, srcLength?: GLuint): void;
|
|
413
419
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/uniform) */
|
|
414
|
-
uniform3iv(location: WebGLUniformLocation | null, data: Iterable<GLint>, srcOffset?:
|
|
420
|
+
uniform3iv(location: WebGLUniformLocation | null, data: Iterable<GLint>, srcOffset?: number, srcLength?: GLuint): void;
|
|
415
421
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/uniform) */
|
|
416
|
-
uniform4fv(location: WebGLUniformLocation | null, data: Iterable<GLfloat>, srcOffset?:
|
|
422
|
+
uniform4fv(location: WebGLUniformLocation | null, data: Iterable<GLfloat>, srcOffset?: number, srcLength?: GLuint): void;
|
|
417
423
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/uniform) */
|
|
418
|
-
uniform4iv(location: WebGLUniformLocation | null, data: Iterable<GLint>, srcOffset?:
|
|
424
|
+
uniform4iv(location: WebGLUniformLocation | null, data: Iterable<GLint>, srcOffset?: number, srcLength?: GLuint): void;
|
|
419
425
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/uniformMatrix) */
|
|
420
|
-
uniformMatrix2fv(location: WebGLUniformLocation | null, transpose: GLboolean, data: Iterable<GLfloat>, srcOffset?:
|
|
426
|
+
uniformMatrix2fv(location: WebGLUniformLocation | null, transpose: GLboolean, data: Iterable<GLfloat>, srcOffset?: number, srcLength?: GLuint): void;
|
|
421
427
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/uniformMatrix) */
|
|
422
|
-
uniformMatrix3fv(location: WebGLUniformLocation | null, transpose: GLboolean, data: Iterable<GLfloat>, srcOffset?:
|
|
428
|
+
uniformMatrix3fv(location: WebGLUniformLocation | null, transpose: GLboolean, data: Iterable<GLfloat>, srcOffset?: number, srcLength?: GLuint): void;
|
|
423
429
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/uniformMatrix) */
|
|
424
|
-
uniformMatrix4fv(location: WebGLUniformLocation | null, transpose: GLboolean, data: Iterable<GLfloat>, srcOffset?:
|
|
430
|
+
uniformMatrix4fv(location: WebGLUniformLocation | null, transpose: GLboolean, data: Iterable<GLfloat>, srcOffset?: number, srcLength?: GLuint): void;
|
|
425
431
|
}
|
|
426
432
|
|
|
427
433
|
interface WebGLRenderingContextBase {
|
package/lib/lib.es5.d.ts
CHANGED
|
@@ -1666,6 +1666,11 @@ type Capitalize<S extends string> = intrinsic;
|
|
|
1666
1666
|
*/
|
|
1667
1667
|
type Uncapitalize<S extends string> = intrinsic;
|
|
1668
1668
|
|
|
1669
|
+
/**
|
|
1670
|
+
* Marker for non-inference type position
|
|
1671
|
+
*/
|
|
1672
|
+
type NoInfer<T> = intrinsic;
|
|
1673
|
+
|
|
1669
1674
|
/**
|
|
1670
1675
|
* Marker for contextual 'this' type
|
|
1671
1676
|
*/
|