@types/sharedworker 0.0.81 → 0.0.82
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/README.md +1 -1
- package/index.d.ts +24 -2
- package/iterable.d.ts +4 -0
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -28,4 +28,4 @@ This project does not respect semantic versioning as almost every change could p
|
|
|
28
28
|
|
|
29
29
|
## Deploy Metadata
|
|
30
30
|
|
|
31
|
-
You can read what changed in version 0.0.
|
|
31
|
+
You can read what changed in version 0.0.82 at https://github.com/microsoft/TypeScript-DOM-lib-generator/releases/tag/%40types%2Fsharedworker%400.0.82.
|
package/index.d.ts
CHANGED
|
@@ -843,6 +843,7 @@ interface CanvasPath {
|
|
|
843
843
|
moveTo(x: number, y: number): void;
|
|
844
844
|
quadraticCurveTo(cpx: number, cpy: number, x: number, y: number): void;
|
|
845
845
|
rect(x: number, y: number, w: number, h: number): void;
|
|
846
|
+
roundRect(x: number, y: number, w: number, h: number, radii?: number | DOMPointInit | (number | DOMPointInit)[]): void;
|
|
846
847
|
}
|
|
847
848
|
|
|
848
849
|
/** An opaque object describing a pattern, based on an image, a canvas, or a video, created by the CanvasRenderingContext2D.createPattern() method. */
|
|
@@ -1227,6 +1228,17 @@ interface EXT_texture_filter_anisotropic {
|
|
|
1227
1228
|
readonly TEXTURE_MAX_ANISOTROPY_EXT: GLenum;
|
|
1228
1229
|
}
|
|
1229
1230
|
|
|
1231
|
+
interface EXT_texture_norm16 {
|
|
1232
|
+
readonly R16_EXT: GLenum;
|
|
1233
|
+
readonly R16_SNORM_EXT: GLenum;
|
|
1234
|
+
readonly RG16_EXT: GLenum;
|
|
1235
|
+
readonly RG16_SNORM_EXT: GLenum;
|
|
1236
|
+
readonly RGB16_EXT: GLenum;
|
|
1237
|
+
readonly RGB16_SNORM_EXT: GLenum;
|
|
1238
|
+
readonly RGBA16_EXT: GLenum;
|
|
1239
|
+
readonly RGBA16_SNORM_EXT: GLenum;
|
|
1240
|
+
}
|
|
1241
|
+
|
|
1230
1242
|
/** Events providing information related to errors in scripts or in files. */
|
|
1231
1243
|
interface ErrorEvent extends Event {
|
|
1232
1244
|
readonly colno: number;
|
|
@@ -1890,13 +1902,13 @@ declare var IDBObjectStore: {
|
|
|
1890
1902
|
};
|
|
1891
1903
|
|
|
1892
1904
|
interface IDBOpenDBRequestEventMap extends IDBRequestEventMap {
|
|
1893
|
-
"blocked":
|
|
1905
|
+
"blocked": IDBVersionChangeEvent;
|
|
1894
1906
|
"upgradeneeded": IDBVersionChangeEvent;
|
|
1895
1907
|
}
|
|
1896
1908
|
|
|
1897
1909
|
/** Also inherits methods from its parents IDBRequest and EventTarget. */
|
|
1898
1910
|
interface IDBOpenDBRequest extends IDBRequest<IDBDatabase> {
|
|
1899
|
-
onblocked: ((this: IDBOpenDBRequest, ev:
|
|
1911
|
+
onblocked: ((this: IDBOpenDBRequest, ev: IDBVersionChangeEvent) => any) | null;
|
|
1900
1912
|
onupgradeneeded: ((this: IDBOpenDBRequest, ev: IDBVersionChangeEvent) => any) | null;
|
|
1901
1913
|
addEventListener<K extends keyof IDBOpenDBRequestEventMap>(type: K, listener: (this: IDBOpenDBRequest, ev: IDBOpenDBRequestEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
1902
1914
|
addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
|
|
@@ -2211,6 +2223,16 @@ declare var Notification: {
|
|
|
2211
2223
|
readonly permission: NotificationPermission;
|
|
2212
2224
|
};
|
|
2213
2225
|
|
|
2226
|
+
interface OES_draw_buffers_indexed {
|
|
2227
|
+
blendEquationSeparateiOES(buf: GLuint, modeRGB: GLenum, modeAlpha: GLenum): void;
|
|
2228
|
+
blendEquationiOES(buf: GLuint, mode: GLenum): void;
|
|
2229
|
+
blendFuncSeparateiOES(buf: GLuint, srcRGB: GLenum, dstRGB: GLenum, srcAlpha: GLenum, dstAlpha: GLenum): void;
|
|
2230
|
+
blendFunciOES(buf: GLuint, src: GLenum, dst: GLenum): void;
|
|
2231
|
+
colorMaskiOES(buf: GLuint, r: GLboolean, g: GLboolean, b: GLboolean, a: GLboolean): void;
|
|
2232
|
+
disableiOES(target: GLenum, index: GLuint): void;
|
|
2233
|
+
enableiOES(target: GLenum, index: GLuint): void;
|
|
2234
|
+
}
|
|
2235
|
+
|
|
2214
2236
|
/** The OES_element_index_uint extension is part of the WebGL API and adds support for gl.UNSIGNED_INT types to WebGLRenderingContext.drawElements(). */
|
|
2215
2237
|
interface OES_element_index_uint {
|
|
2216
2238
|
}
|
package/iterable.d.ts
CHANGED
|
@@ -6,6 +6,10 @@ interface Cache {
|
|
|
6
6
|
addAll(requests: Iterable<RequestInfo>): Promise<void>;
|
|
7
7
|
}
|
|
8
8
|
|
|
9
|
+
interface CanvasPath {
|
|
10
|
+
roundRect(x: number, y: number, w: number, h: number, radii?: number | DOMPointInit | Iterable<number | DOMPointInit>): void;
|
|
11
|
+
}
|
|
12
|
+
|
|
9
13
|
interface DOMStringList {
|
|
10
14
|
[Symbol.iterator](): IterableIterator<string>;
|
|
11
15
|
}
|