@better-typescript-lib/webworker
Advanced tools
Comparing version 2.3.1 to 2.4.0
@@ -6,3 +6,25 @@ /// <reference no-default-lib="true"/> | ||
interface CSSNumericArray { | ||
[Symbol.iterator](): IterableIterator<CSSNumericValue>; | ||
entries(): IterableIterator<[number, CSSNumericValue]>; | ||
keys(): IterableIterator<number>; | ||
values(): IterableIterator<CSSNumericValue>; | ||
} | ||
interface CSSTransformValue { | ||
[Symbol.iterator](): IterableIterator<CSSTransformComponent>; | ||
entries(): IterableIterator<[number, CSSTransformComponent]>; | ||
keys(): IterableIterator<number>; | ||
values(): IterableIterator<CSSTransformComponent>; | ||
} | ||
interface CSSUnparsedValue { | ||
[Symbol.iterator](): IterableIterator<CSSUnparsedSegment>; | ||
entries(): IterableIterator<[number, CSSUnparsedSegment]>; | ||
keys(): IterableIterator<number>; | ||
values(): IterableIterator<CSSUnparsedSegment>; | ||
} | ||
interface Cache { | ||
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Cache/addAll) */ | ||
addAll(requests: Iterable<RequestInfo>): Promise<void>; | ||
@@ -12,2 +34,3 @@ } | ||
interface CanvasPath { | ||
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CanvasRenderingContext2D/roundRect) */ | ||
roundRect( | ||
@@ -23,2 +46,3 @@ x: number, | ||
interface CanvasPathDrawingStyles { | ||
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CanvasRenderingContext2D/setLineDash) */ | ||
setLineDash(segments: Iterable<number>): void; | ||
@@ -58,3 +82,7 @@ } | ||
interface IDBDatabase { | ||
/** 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. */ | ||
/** | ||
* 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. | ||
* | ||
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/IDBDatabase/transaction) | ||
*/ | ||
transaction( | ||
@@ -72,2 +100,4 @@ storeNames: string | Iterable<string>, | ||
* Throws an "InvalidStateError" DOMException if not called within an upgrade transaction. | ||
* | ||
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/IDBObjectStore/createIndex) | ||
*/ | ||
@@ -82,3 +112,7 @@ createIndex( | ||
interface MessageEvent<T = any> { | ||
/** @deprecated */ | ||
/** | ||
* @deprecated | ||
* | ||
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/MessageEvent/initMessageEvent) | ||
*/ | ||
initMessageEvent( | ||
@@ -96,3 +130,11 @@ type: string, | ||
interface StylePropertyMapReadOnly { | ||
[Symbol.iterator](): IterableIterator<[string, Iterable<CSSStyleValue>]>; | ||
entries(): IterableIterator<[string, Iterable<CSSStyleValue>]>; | ||
keys(): IterableIterator<string>; | ||
values(): IterableIterator<Iterable<CSSStyleValue>>; | ||
} | ||
interface SubtleCrypto { | ||
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/SubtleCrypto/deriveKey) */ | ||
deriveKey( | ||
@@ -114,2 +156,3 @@ algorithm: | ||
): Promise<CryptoKey>; | ||
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/SubtleCrypto/generateKey) */ | ||
generateKey( | ||
@@ -130,2 +173,3 @@ algorithm: RsaHashedKeyGenParams | EcKeyGenParams, | ||
): Promise<CryptoKeyPair | CryptoKey>; | ||
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/SubtleCrypto/importKey) */ | ||
importKey( | ||
@@ -155,2 +199,3 @@ format: "jwk", | ||
): Promise<CryptoKey>; | ||
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/SubtleCrypto/unwrapKey) */ | ||
unwrapKey( | ||
@@ -188,2 +233,3 @@ format: KeyFormat, | ||
interface WEBGL_draw_buffers { | ||
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WEBGL_draw_buffers/drawBuffersWEBGL) */ | ||
drawBuffersWEBGL(buffers: Iterable<GLenum>): void; | ||
@@ -193,2 +239,3 @@ } | ||
interface WEBGL_multi_draw { | ||
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WEBGL_multi_draw/multiDrawArraysInstancedWEBGL) */ | ||
multiDrawArraysInstancedWEBGL( | ||
@@ -204,2 +251,3 @@ mode: GLenum, | ||
): void; | ||
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WEBGL_multi_draw/multiDrawArraysWEBGL) */ | ||
multiDrawArraysWEBGL( | ||
@@ -213,2 +261,3 @@ mode: GLenum, | ||
): void; | ||
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WEBGL_multi_draw/multiDrawElementsInstancedWEBGL) */ | ||
multiDrawElementsInstancedWEBGL( | ||
@@ -225,2 +274,3 @@ mode: GLenum, | ||
): void; | ||
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WEBGL_multi_draw/multiDrawElementsWEBGL) */ | ||
multiDrawElementsWEBGL( | ||
@@ -238,2 +288,3 @@ mode: GLenum, | ||
interface WebGL2RenderingContextBase { | ||
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGL2RenderingContext/clearBuffer) */ | ||
clearBufferfv( | ||
@@ -245,2 +296,3 @@ buffer: GLenum, | ||
): void; | ||
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGL2RenderingContext/clearBuffer) */ | ||
clearBufferiv( | ||
@@ -252,2 +304,3 @@ buffer: GLenum, | ||
): void; | ||
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGL2RenderingContext/clearBuffer) */ | ||
clearBufferuiv( | ||
@@ -259,3 +312,5 @@ buffer: GLenum, | ||
): void; | ||
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGL2RenderingContext/drawBuffers) */ | ||
drawBuffers(buffers: Iterable<GLenum>): void; | ||
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGL2RenderingContext/getActiveUniforms) */ | ||
getActiveUniforms( | ||
@@ -266,2 +321,3 @@ program: WebGLProgram, | ||
): any; | ||
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGL2RenderingContext/getUniformIndices) */ | ||
getUniformIndices( | ||
@@ -271,3 +327,5 @@ program: WebGLProgram, | ||
): Iterable<GLuint> | null; | ||
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGL2RenderingContext/invalidateFramebuffer) */ | ||
invalidateFramebuffer(target: GLenum, attachments: Iterable<GLenum>): void; | ||
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGL2RenderingContext/invalidateSubFramebuffer) */ | ||
invalidateSubFramebuffer( | ||
@@ -281,2 +339,3 @@ target: GLenum, | ||
): void; | ||
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGL2RenderingContext/transformFeedbackVaryings) */ | ||
transformFeedbackVaryings( | ||
@@ -287,2 +346,3 @@ program: WebGLProgram, | ||
): void; | ||
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGL2RenderingContext/uniform) */ | ||
uniform1uiv( | ||
@@ -294,2 +354,3 @@ location: WebGLUniformLocation | null, | ||
): void; | ||
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGL2RenderingContext/uniform) */ | ||
uniform2uiv( | ||
@@ -301,2 +362,3 @@ location: WebGLUniformLocation | null, | ||
): void; | ||
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGL2RenderingContext/uniform) */ | ||
uniform3uiv( | ||
@@ -308,2 +370,3 @@ location: WebGLUniformLocation | null, | ||
): void; | ||
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGL2RenderingContext/uniform) */ | ||
uniform4uiv( | ||
@@ -315,2 +378,3 @@ location: WebGLUniformLocation | null, | ||
): void; | ||
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGL2RenderingContext/uniformMatrix) */ | ||
uniformMatrix2x3fv( | ||
@@ -323,2 +387,3 @@ location: WebGLUniformLocation | null, | ||
): void; | ||
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGL2RenderingContext/uniformMatrix) */ | ||
uniformMatrix2x4fv( | ||
@@ -331,2 +396,3 @@ location: WebGLUniformLocation | null, | ||
): void; | ||
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGL2RenderingContext/uniformMatrix) */ | ||
uniformMatrix3x2fv( | ||
@@ -339,2 +405,3 @@ location: WebGLUniformLocation | null, | ||
): void; | ||
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGL2RenderingContext/uniformMatrix) */ | ||
uniformMatrix3x4fv( | ||
@@ -347,2 +414,3 @@ location: WebGLUniformLocation | null, | ||
): void; | ||
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGL2RenderingContext/uniformMatrix) */ | ||
uniformMatrix4x2fv( | ||
@@ -355,2 +423,3 @@ location: WebGLUniformLocation | null, | ||
): void; | ||
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGL2RenderingContext/uniformMatrix) */ | ||
uniformMatrix4x3fv( | ||
@@ -363,3 +432,5 @@ location: WebGLUniformLocation | null, | ||
): void; | ||
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGL2RenderingContext/vertexAttribI) */ | ||
vertexAttribI4iv(index: GLuint, values: Iterable<GLint>): void; | ||
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGL2RenderingContext/vertexAttribI) */ | ||
vertexAttribI4uiv(index: GLuint, values: Iterable<GLuint>): void; | ||
@@ -369,2 +440,3 @@ } | ||
interface WebGL2RenderingContextOverloads { | ||
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/uniform) */ | ||
uniform1fv( | ||
@@ -376,2 +448,3 @@ location: WebGLUniformLocation | null, | ||
): void; | ||
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/uniform) */ | ||
uniform1iv( | ||
@@ -383,2 +456,3 @@ location: WebGLUniformLocation | null, | ||
): void; | ||
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/uniform) */ | ||
uniform2fv( | ||
@@ -390,2 +464,3 @@ location: WebGLUniformLocation | null, | ||
): void; | ||
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/uniform) */ | ||
uniform2iv( | ||
@@ -397,2 +472,3 @@ location: WebGLUniformLocation | null, | ||
): void; | ||
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/uniform) */ | ||
uniform3fv( | ||
@@ -404,2 +480,3 @@ location: WebGLUniformLocation | null, | ||
): void; | ||
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/uniform) */ | ||
uniform3iv( | ||
@@ -411,2 +488,3 @@ location: WebGLUniformLocation | null, | ||
): void; | ||
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/uniform) */ | ||
uniform4fv( | ||
@@ -418,2 +496,3 @@ location: WebGLUniformLocation | null, | ||
): void; | ||
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/uniform) */ | ||
uniform4iv( | ||
@@ -425,2 +504,3 @@ location: WebGLUniformLocation | null, | ||
): void; | ||
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/uniformMatrix) */ | ||
uniformMatrix2fv( | ||
@@ -433,2 +513,3 @@ location: WebGLUniformLocation | null, | ||
): void; | ||
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/uniformMatrix) */ | ||
uniformMatrix3fv( | ||
@@ -441,2 +522,3 @@ location: WebGLUniformLocation | null, | ||
): void; | ||
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/uniformMatrix) */ | ||
uniformMatrix4fv( | ||
@@ -452,5 +534,9 @@ location: WebGLUniformLocation | null, | ||
interface WebGLRenderingContextBase { | ||
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/vertexAttrib) */ | ||
vertexAttrib1fv(index: GLuint, values: Iterable<GLfloat>): void; | ||
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/vertexAttrib) */ | ||
vertexAttrib2fv(index: GLuint, values: Iterable<GLfloat>): void; | ||
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/vertexAttrib) */ | ||
vertexAttrib3fv(index: GLuint, values: Iterable<GLfloat>): void; | ||
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/vertexAttrib) */ | ||
vertexAttrib4fv(index: GLuint, values: Iterable<GLfloat>): void; | ||
@@ -460,10 +546,19 @@ } | ||
interface WebGLRenderingContextOverloads { | ||
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/uniform) */ | ||
uniform1fv(location: WebGLUniformLocation | null, v: Iterable<GLfloat>): void; | ||
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/uniform) */ | ||
uniform1iv(location: WebGLUniformLocation | null, v: Iterable<GLint>): void; | ||
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/uniform) */ | ||
uniform2fv(location: WebGLUniformLocation | null, v: Iterable<GLfloat>): void; | ||
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/uniform) */ | ||
uniform2iv(location: WebGLUniformLocation | null, v: Iterable<GLint>): void; | ||
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/uniform) */ | ||
uniform3fv(location: WebGLUniformLocation | null, v: Iterable<GLfloat>): void; | ||
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/uniform) */ | ||
uniform3iv(location: WebGLUniformLocation | null, v: Iterable<GLint>): void; | ||
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/uniform) */ | ||
uniform4fv(location: WebGLUniformLocation | null, v: Iterable<GLfloat>): void; | ||
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/uniform) */ | ||
uniform4iv(location: WebGLUniformLocation | null, v: Iterable<GLint>): void; | ||
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/uniformMatrix) */ | ||
uniformMatrix2fv( | ||
@@ -474,2 +569,3 @@ location: WebGLUniformLocation | null, | ||
): void; | ||
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/uniformMatrix) */ | ||
uniformMatrix3fv( | ||
@@ -480,2 +576,3 @@ location: WebGLUniformLocation | null, | ||
): void; | ||
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/uniformMatrix) */ | ||
uniformMatrix4fv( | ||
@@ -482,0 +579,0 @@ location: WebGLUniformLocation | null, |
{ | ||
"name": "@better-typescript-lib/webworker", | ||
"version": "2.3.1", | ||
"version": "2.4.0", | ||
"description": "Better TypeScript standard library", | ||
@@ -5,0 +5,0 @@ "types": "./index.d.ts", |
Sorry, the diff of this file is too big to display
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
462539
11313