@types/sharedworker 0.0.114 → 0.0.115
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 +2 -2
- 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.115 at https://github.com/microsoft/TypeScript-DOM-lib-generator/releases/tag/%40types%2Fsharedworker%400.0.115.
|
package/index.d.ts
CHANGED
|
@@ -1480,6 +1480,8 @@ interface CanvasShadowStyles {
|
|
|
1480
1480
|
}
|
|
1481
1481
|
|
|
1482
1482
|
interface CanvasState {
|
|
1483
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CanvasRenderingContext2D/isContextLost) */
|
|
1484
|
+
isContextLost(): boolean;
|
|
1483
1485
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CanvasRenderingContext2D/reset) */
|
|
1484
1486
|
reset(): void;
|
|
1485
1487
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CanvasRenderingContext2D/restore) */
|
|
@@ -3962,8 +3964,6 @@ declare var OffscreenCanvas: {
|
|
|
3962
3964
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/OffscreenCanvasRenderingContext2D) */
|
|
3963
3965
|
interface OffscreenCanvasRenderingContext2D extends CanvasCompositing, CanvasDrawImage, CanvasDrawPath, CanvasFillStrokeStyles, CanvasFilters, CanvasImageData, CanvasImageSmoothing, CanvasPath, CanvasPathDrawingStyles, CanvasRect, CanvasShadowStyles, CanvasState, CanvasText, CanvasTextDrawingStyles, CanvasTransform {
|
|
3964
3966
|
readonly canvas: OffscreenCanvas;
|
|
3965
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/OffscreenCanvasRenderingContext2D/commit) */
|
|
3966
|
-
commit(): void;
|
|
3967
3967
|
}
|
|
3968
3968
|
|
|
3969
3969
|
declare var OffscreenCanvasRenderingContext2D: {
|