@types/sharedworker 0.0.172 → 0.0.174
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 +31 -1
- package/package.json +1 -1
- package/ts5.5/index.d.ts +31 -1
- package/ts5.6/index.d.ts +31 -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.174 at https://github.com/microsoft/TypeScript-DOM-lib-generator/releases/tag/%40types%2Fsharedworker%400.0.174.
|
package/index.d.ts
CHANGED
|
@@ -215,6 +215,10 @@ interface FontFaceSetLoadEventInit extends EventInit {
|
|
|
215
215
|
fontfaces?: FontFace[];
|
|
216
216
|
}
|
|
217
217
|
|
|
218
|
+
interface GPUPipelineErrorInit {
|
|
219
|
+
reason: GPUPipelineErrorReason;
|
|
220
|
+
}
|
|
221
|
+
|
|
218
222
|
interface GetNotificationOptions {
|
|
219
223
|
tag?: string;
|
|
220
224
|
}
|
|
@@ -3796,6 +3800,31 @@ interface GPUError {
|
|
|
3796
3800
|
readonly message: string;
|
|
3797
3801
|
}
|
|
3798
3802
|
|
|
3803
|
+
declare var GPUError: {
|
|
3804
|
+
prototype: GPUError;
|
|
3805
|
+
new(): GPUError;
|
|
3806
|
+
};
|
|
3807
|
+
|
|
3808
|
+
/**
|
|
3809
|
+
* The **`GPUPipelineError`** interface of the WebGPU API describes a pipeline failure.
|
|
3810
|
+
* Available only in secure contexts.
|
|
3811
|
+
*
|
|
3812
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUPipelineError)
|
|
3813
|
+
*/
|
|
3814
|
+
interface GPUPipelineError extends DOMException {
|
|
3815
|
+
/**
|
|
3816
|
+
* The **`reason`** read-only property of the GPUPipelineError interface defines the reason the pipeline creation failed in a machine-readable way.
|
|
3817
|
+
*
|
|
3818
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUPipelineError/reason)
|
|
3819
|
+
*/
|
|
3820
|
+
readonly reason: GPUPipelineErrorReason;
|
|
3821
|
+
}
|
|
3822
|
+
|
|
3823
|
+
declare var GPUPipelineError: {
|
|
3824
|
+
prototype: GPUPipelineError;
|
|
3825
|
+
new(message: string, options: GPUPipelineErrorInit): GPUPipelineError;
|
|
3826
|
+
};
|
|
3827
|
+
|
|
3799
3828
|
interface GenericTransformStream {
|
|
3800
3829
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CompressionStream/readable) */
|
|
3801
3830
|
readonly readable: ReadableStream;
|
|
@@ -7181,7 +7210,7 @@ declare var URL: {
|
|
|
7181
7210
|
*/
|
|
7182
7211
|
canParse(url: string | URL, base?: string | URL): boolean;
|
|
7183
7212
|
/**
|
|
7184
|
-
* The **`createObjectURL()`** static method of the URL interface creates a string containing a URL
|
|
7213
|
+
* The **`createObjectURL()`** static method of the URL interface creates a string containing a blob URL pointing to the object given in the parameter.
|
|
7185
7214
|
*
|
|
7186
7215
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/URL/createObjectURL_static)
|
|
7187
7216
|
*/
|
|
@@ -11225,6 +11254,7 @@ type FileSystemHandleKind = "directory" | "file";
|
|
|
11225
11254
|
type FontDisplay = "auto" | "block" | "fallback" | "optional" | "swap";
|
|
11226
11255
|
type FontFaceLoadStatus = "error" | "loaded" | "loading" | "unloaded";
|
|
11227
11256
|
type FontFaceSetLoadStatus = "loaded" | "loading";
|
|
11257
|
+
type GPUPipelineErrorReason = "internal" | "validation";
|
|
11228
11258
|
type GlobalCompositeOperation = "color" | "color-burn" | "color-dodge" | "copy" | "darken" | "destination-atop" | "destination-in" | "destination-out" | "destination-over" | "difference" | "exclusion" | "hard-light" | "hue" | "lighten" | "lighter" | "luminosity" | "multiply" | "overlay" | "saturation" | "screen" | "soft-light" | "source-atop" | "source-in" | "source-out" | "source-over" | "xor";
|
|
11229
11259
|
type HdrMetadataType = "smpteSt2086" | "smpteSt2094-10" | "smpteSt2094-40";
|
|
11230
11260
|
type IDBCursorDirection = "next" | "nextunique" | "prev" | "prevunique";
|
package/package.json
CHANGED
package/ts5.5/index.d.ts
CHANGED
|
@@ -215,6 +215,10 @@ interface FontFaceSetLoadEventInit extends EventInit {
|
|
|
215
215
|
fontfaces?: FontFace[];
|
|
216
216
|
}
|
|
217
217
|
|
|
218
|
+
interface GPUPipelineErrorInit {
|
|
219
|
+
reason: GPUPipelineErrorReason;
|
|
220
|
+
}
|
|
221
|
+
|
|
218
222
|
interface GetNotificationOptions {
|
|
219
223
|
tag?: string;
|
|
220
224
|
}
|
|
@@ -3796,6 +3800,31 @@ interface GPUError {
|
|
|
3796
3800
|
readonly message: string;
|
|
3797
3801
|
}
|
|
3798
3802
|
|
|
3803
|
+
declare var GPUError: {
|
|
3804
|
+
prototype: GPUError;
|
|
3805
|
+
new(): GPUError;
|
|
3806
|
+
};
|
|
3807
|
+
|
|
3808
|
+
/**
|
|
3809
|
+
* The **`GPUPipelineError`** interface of the WebGPU API describes a pipeline failure.
|
|
3810
|
+
* Available only in secure contexts.
|
|
3811
|
+
*
|
|
3812
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUPipelineError)
|
|
3813
|
+
*/
|
|
3814
|
+
interface GPUPipelineError extends DOMException {
|
|
3815
|
+
/**
|
|
3816
|
+
* The **`reason`** read-only property of the GPUPipelineError interface defines the reason the pipeline creation failed in a machine-readable way.
|
|
3817
|
+
*
|
|
3818
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUPipelineError/reason)
|
|
3819
|
+
*/
|
|
3820
|
+
readonly reason: GPUPipelineErrorReason;
|
|
3821
|
+
}
|
|
3822
|
+
|
|
3823
|
+
declare var GPUPipelineError: {
|
|
3824
|
+
prototype: GPUPipelineError;
|
|
3825
|
+
new(message: string, options: GPUPipelineErrorInit): GPUPipelineError;
|
|
3826
|
+
};
|
|
3827
|
+
|
|
3799
3828
|
interface GenericTransformStream {
|
|
3800
3829
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CompressionStream/readable) */
|
|
3801
3830
|
readonly readable: ReadableStream;
|
|
@@ -7181,7 +7210,7 @@ declare var URL: {
|
|
|
7181
7210
|
*/
|
|
7182
7211
|
canParse(url: string | URL, base?: string | URL): boolean;
|
|
7183
7212
|
/**
|
|
7184
|
-
* The **`createObjectURL()`** static method of the URL interface creates a string containing a URL
|
|
7213
|
+
* The **`createObjectURL()`** static method of the URL interface creates a string containing a blob URL pointing to the object given in the parameter.
|
|
7185
7214
|
*
|
|
7186
7215
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/URL/createObjectURL_static)
|
|
7187
7216
|
*/
|
|
@@ -11225,6 +11254,7 @@ type FileSystemHandleKind = "directory" | "file";
|
|
|
11225
11254
|
type FontDisplay = "auto" | "block" | "fallback" | "optional" | "swap";
|
|
11226
11255
|
type FontFaceLoadStatus = "error" | "loaded" | "loading" | "unloaded";
|
|
11227
11256
|
type FontFaceSetLoadStatus = "loaded" | "loading";
|
|
11257
|
+
type GPUPipelineErrorReason = "internal" | "validation";
|
|
11228
11258
|
type GlobalCompositeOperation = "color" | "color-burn" | "color-dodge" | "copy" | "darken" | "destination-atop" | "destination-in" | "destination-out" | "destination-over" | "difference" | "exclusion" | "hard-light" | "hue" | "lighten" | "lighter" | "luminosity" | "multiply" | "overlay" | "saturation" | "screen" | "soft-light" | "source-atop" | "source-in" | "source-out" | "source-over" | "xor";
|
|
11229
11259
|
type HdrMetadataType = "smpteSt2086" | "smpteSt2094-10" | "smpteSt2094-40";
|
|
11230
11260
|
type IDBCursorDirection = "next" | "nextunique" | "prev" | "prevunique";
|
package/ts5.6/index.d.ts
CHANGED
|
@@ -215,6 +215,10 @@ interface FontFaceSetLoadEventInit extends EventInit {
|
|
|
215
215
|
fontfaces?: FontFace[];
|
|
216
216
|
}
|
|
217
217
|
|
|
218
|
+
interface GPUPipelineErrorInit {
|
|
219
|
+
reason: GPUPipelineErrorReason;
|
|
220
|
+
}
|
|
221
|
+
|
|
218
222
|
interface GetNotificationOptions {
|
|
219
223
|
tag?: string;
|
|
220
224
|
}
|
|
@@ -3796,6 +3800,31 @@ interface GPUError {
|
|
|
3796
3800
|
readonly message: string;
|
|
3797
3801
|
}
|
|
3798
3802
|
|
|
3803
|
+
declare var GPUError: {
|
|
3804
|
+
prototype: GPUError;
|
|
3805
|
+
new(): GPUError;
|
|
3806
|
+
};
|
|
3807
|
+
|
|
3808
|
+
/**
|
|
3809
|
+
* The **`GPUPipelineError`** interface of the WebGPU API describes a pipeline failure.
|
|
3810
|
+
* Available only in secure contexts.
|
|
3811
|
+
*
|
|
3812
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUPipelineError)
|
|
3813
|
+
*/
|
|
3814
|
+
interface GPUPipelineError extends DOMException {
|
|
3815
|
+
/**
|
|
3816
|
+
* The **`reason`** read-only property of the GPUPipelineError interface defines the reason the pipeline creation failed in a machine-readable way.
|
|
3817
|
+
*
|
|
3818
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUPipelineError/reason)
|
|
3819
|
+
*/
|
|
3820
|
+
readonly reason: GPUPipelineErrorReason;
|
|
3821
|
+
}
|
|
3822
|
+
|
|
3823
|
+
declare var GPUPipelineError: {
|
|
3824
|
+
prototype: GPUPipelineError;
|
|
3825
|
+
new(message: string, options: GPUPipelineErrorInit): GPUPipelineError;
|
|
3826
|
+
};
|
|
3827
|
+
|
|
3799
3828
|
interface GenericTransformStream {
|
|
3800
3829
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CompressionStream/readable) */
|
|
3801
3830
|
readonly readable: ReadableStream;
|
|
@@ -7181,7 +7210,7 @@ declare var URL: {
|
|
|
7181
7210
|
*/
|
|
7182
7211
|
canParse(url: string | URL, base?: string | URL): boolean;
|
|
7183
7212
|
/**
|
|
7184
|
-
* The **`createObjectURL()`** static method of the URL interface creates a string containing a URL
|
|
7213
|
+
* The **`createObjectURL()`** static method of the URL interface creates a string containing a blob URL pointing to the object given in the parameter.
|
|
7185
7214
|
*
|
|
7186
7215
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/URL/createObjectURL_static)
|
|
7187
7216
|
*/
|
|
@@ -11225,6 +11254,7 @@ type FileSystemHandleKind = "directory" | "file";
|
|
|
11225
11254
|
type FontDisplay = "auto" | "block" | "fallback" | "optional" | "swap";
|
|
11226
11255
|
type FontFaceLoadStatus = "error" | "loaded" | "loading" | "unloaded";
|
|
11227
11256
|
type FontFaceSetLoadStatus = "loaded" | "loading";
|
|
11257
|
+
type GPUPipelineErrorReason = "internal" | "validation";
|
|
11228
11258
|
type GlobalCompositeOperation = "color" | "color-burn" | "color-dodge" | "copy" | "darken" | "destination-atop" | "destination-in" | "destination-out" | "destination-over" | "difference" | "exclusion" | "hard-light" | "hue" | "lighten" | "lighter" | "luminosity" | "multiply" | "overlay" | "saturation" | "screen" | "soft-light" | "source-atop" | "source-in" | "source-out" | "source-over" | "xor";
|
|
11229
11259
|
type HdrMetadataType = "smpteSt2086" | "smpteSt2094-10" | "smpteSt2094-40";
|
|
11230
11260
|
type IDBCursorDirection = "next" | "nextunique" | "prev" | "prevunique";
|