@types/sharedworker 0.0.114 → 0.0.116

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 (3) hide show
  1. package/README.md +1 -1
  2. package/index.d.ts +7 -6
  3. 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.114 at https://github.com/microsoft/TypeScript-DOM-lib-generator/releases/tag/%40types%2Fsharedworker%400.0.114.
31
+ You can read what changed in version 0.0.116 at https://github.com/microsoft/TypeScript-DOM-lib-generator/releases/tag/%40types%2Fsharedworker%400.0.116.
package/index.d.ts CHANGED
@@ -280,10 +280,6 @@ interface ImageEncodeOptions {
280
280
  type?: string;
281
281
  }
282
282
 
283
- interface ImportMeta {
284
- url: string;
285
- }
286
-
287
283
  interface JsonWebKey {
288
284
  alg?: string;
289
285
  crv?: string;
@@ -1480,6 +1476,8 @@ interface CanvasShadowStyles {
1480
1476
  }
1481
1477
 
1482
1478
  interface CanvasState {
1479
+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CanvasRenderingContext2D/isContextLost) */
1480
+ isContextLost(): boolean;
1483
1481
  /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CanvasRenderingContext2D/reset) */
1484
1482
  reset(): void;
1485
1483
  /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CanvasRenderingContext2D/restore) */
@@ -3477,6 +3475,11 @@ declare var ImageData: {
3477
3475
  new(data: Uint8ClampedArray, sw: number, sh?: number, settings?: ImageDataSettings): ImageData;
3478
3476
  };
3479
3477
 
3478
+ interface ImportMeta {
3479
+ url: string;
3480
+ resolve(specifier: string): string;
3481
+ }
3482
+
3480
3483
  /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/KHR_parallel_shader_compile) */
3481
3484
  interface KHR_parallel_shader_compile {
3482
3485
  readonly COMPLETION_STATUS_KHR: 0x91B1;
@@ -3962,8 +3965,6 @@ declare var OffscreenCanvas: {
3962
3965
  /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/OffscreenCanvasRenderingContext2D) */
3963
3966
  interface OffscreenCanvasRenderingContext2D extends CanvasCompositing, CanvasDrawImage, CanvasDrawPath, CanvasFillStrokeStyles, CanvasFilters, CanvasImageData, CanvasImageSmoothing, CanvasPath, CanvasPathDrawingStyles, CanvasRect, CanvasShadowStyles, CanvasState, CanvasText, CanvasTextDrawingStyles, CanvasTransform {
3964
3967
  readonly canvas: OffscreenCanvas;
3965
- /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/OffscreenCanvasRenderingContext2D/commit) */
3966
- commit(): void;
3967
3968
  }
3968
3969
 
3969
3970
  declare var OffscreenCanvasRenderingContext2D: {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@types/sharedworker",
3
- "version": "0.0.114",
3
+ "version": "0.0.116",
4
4
  "description": "Types for the global scope of Shared Workers",
5
5
  "license": "Apache-2.0",
6
6
  "contributors": [],