@types/serviceworker 0.0.85 → 0.0.87
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 +7 -6
- 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.87 at https://github.com/microsoft/TypeScript-DOM-lib-generator/releases/tag/%40types%2Fserviceworker%400.0.87.
|
package/index.d.ts
CHANGED
|
@@ -305,10 +305,6 @@ interface ImageEncodeOptions {
|
|
|
305
305
|
type?: string;
|
|
306
306
|
}
|
|
307
307
|
|
|
308
|
-
interface ImportMeta {
|
|
309
|
-
url: string;
|
|
310
|
-
}
|
|
311
|
-
|
|
312
308
|
interface JsonWebKey {
|
|
313
309
|
alg?: string;
|
|
314
310
|
crv?: string;
|
|
@@ -1508,6 +1504,8 @@ interface CanvasShadowStyles {
|
|
|
1508
1504
|
}
|
|
1509
1505
|
|
|
1510
1506
|
interface CanvasState {
|
|
1507
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CanvasRenderingContext2D/isContextLost) */
|
|
1508
|
+
isContextLost(): boolean;
|
|
1511
1509
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CanvasRenderingContext2D/reset) */
|
|
1512
1510
|
reset(): void;
|
|
1513
1511
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CanvasRenderingContext2D/restore) */
|
|
@@ -3588,6 +3586,11 @@ declare var ImageData: {
|
|
|
3588
3586
|
new(data: Uint8ClampedArray, sw: number, sh?: number, settings?: ImageDataSettings): ImageData;
|
|
3589
3587
|
};
|
|
3590
3588
|
|
|
3589
|
+
interface ImportMeta {
|
|
3590
|
+
url: string;
|
|
3591
|
+
resolve(specifier: string): string;
|
|
3592
|
+
}
|
|
3593
|
+
|
|
3591
3594
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/KHR_parallel_shader_compile) */
|
|
3592
3595
|
interface KHR_parallel_shader_compile {
|
|
3593
3596
|
readonly COMPLETION_STATUS_KHR: 0x91B1;
|
|
@@ -4090,8 +4093,6 @@ declare var OffscreenCanvas: {
|
|
|
4090
4093
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/OffscreenCanvasRenderingContext2D) */
|
|
4091
4094
|
interface OffscreenCanvasRenderingContext2D extends CanvasCompositing, CanvasDrawImage, CanvasDrawPath, CanvasFillStrokeStyles, CanvasFilters, CanvasImageData, CanvasImageSmoothing, CanvasPath, CanvasPathDrawingStyles, CanvasRect, CanvasShadowStyles, CanvasState, CanvasText, CanvasTextDrawingStyles, CanvasTransform {
|
|
4092
4095
|
readonly canvas: OffscreenCanvas;
|
|
4093
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/OffscreenCanvasRenderingContext2D/commit) */
|
|
4094
|
-
commit(): void;
|
|
4095
4096
|
}
|
|
4096
4097
|
|
|
4097
4098
|
declare var OffscreenCanvasRenderingContext2D: {
|