@types/webworker 0.0.19 → 0.0.20
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 +30 -0
- package/package.json +1 -1
- package/ts5.5/index.d.ts +30 -0
- package/ts5.6/index.d.ts +30 -0
package/README.md
CHANGED
|
@@ -45,4 +45,4 @@ This project does not respect semantic versioning as almost every change could p
|
|
|
45
45
|
|
|
46
46
|
## Deploy Metadata
|
|
47
47
|
|
|
48
|
-
You can read what changed in version 0.0.
|
|
48
|
+
You can read what changed in version 0.0.20 at https://github.com/microsoft/TypeScript-DOM-lib-generator/releases/tag/%40types%2Fwebworker%400.0.20.
|
package/index.d.ts
CHANGED
|
@@ -355,6 +355,10 @@ interface FontFaceSetLoadEventInit extends EventInit {
|
|
|
355
355
|
fontfaces?: FontFace[];
|
|
356
356
|
}
|
|
357
357
|
|
|
358
|
+
interface GPUPipelineErrorInit {
|
|
359
|
+
reason: GPUPipelineErrorReason;
|
|
360
|
+
}
|
|
361
|
+
|
|
358
362
|
interface GetNotificationOptions {
|
|
359
363
|
tag?: string;
|
|
360
364
|
}
|
|
@@ -4805,6 +4809,31 @@ interface GPUError {
|
|
|
4805
4809
|
readonly message: string;
|
|
4806
4810
|
}
|
|
4807
4811
|
|
|
4812
|
+
declare var GPUError: {
|
|
4813
|
+
prototype: GPUError;
|
|
4814
|
+
new(): GPUError;
|
|
4815
|
+
};
|
|
4816
|
+
|
|
4817
|
+
/**
|
|
4818
|
+
* The **`GPUPipelineError`** interface of the WebGPU API describes a pipeline failure.
|
|
4819
|
+
* Available only in secure contexts.
|
|
4820
|
+
*
|
|
4821
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUPipelineError)
|
|
4822
|
+
*/
|
|
4823
|
+
interface GPUPipelineError extends DOMException {
|
|
4824
|
+
/**
|
|
4825
|
+
* The **`reason`** read-only property of the GPUPipelineError interface defines the reason the pipeline creation failed in a machine-readable way.
|
|
4826
|
+
*
|
|
4827
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUPipelineError/reason)
|
|
4828
|
+
*/
|
|
4829
|
+
readonly reason: GPUPipelineErrorReason;
|
|
4830
|
+
}
|
|
4831
|
+
|
|
4832
|
+
declare var GPUPipelineError: {
|
|
4833
|
+
prototype: GPUPipelineError;
|
|
4834
|
+
new(message: string, options: GPUPipelineErrorInit): GPUPipelineError;
|
|
4835
|
+
};
|
|
4836
|
+
|
|
4808
4837
|
interface GenericTransformStream {
|
|
4809
4838
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CompressionStream/readable) */
|
|
4810
4839
|
readonly readable: ReadableStream;
|
|
@@ -13205,6 +13234,7 @@ type FontDisplay = "auto" | "block" | "fallback" | "optional" | "swap";
|
|
|
13205
13234
|
type FontFaceLoadStatus = "error" | "loaded" | "loading" | "unloaded";
|
|
13206
13235
|
type FontFaceSetLoadStatus = "loaded" | "loading";
|
|
13207
13236
|
type FrameType = "auxiliary" | "nested" | "none" | "top-level";
|
|
13237
|
+
type GPUPipelineErrorReason = "internal" | "validation";
|
|
13208
13238
|
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";
|
|
13209
13239
|
type HardwareAcceleration = "no-preference" | "prefer-hardware" | "prefer-software";
|
|
13210
13240
|
type HdrMetadataType = "smpteSt2086" | "smpteSt2094-10" | "smpteSt2094-40";
|
package/package.json
CHANGED
package/ts5.5/index.d.ts
CHANGED
|
@@ -355,6 +355,10 @@ interface FontFaceSetLoadEventInit extends EventInit {
|
|
|
355
355
|
fontfaces?: FontFace[];
|
|
356
356
|
}
|
|
357
357
|
|
|
358
|
+
interface GPUPipelineErrorInit {
|
|
359
|
+
reason: GPUPipelineErrorReason;
|
|
360
|
+
}
|
|
361
|
+
|
|
358
362
|
interface GetNotificationOptions {
|
|
359
363
|
tag?: string;
|
|
360
364
|
}
|
|
@@ -4805,6 +4809,31 @@ interface GPUError {
|
|
|
4805
4809
|
readonly message: string;
|
|
4806
4810
|
}
|
|
4807
4811
|
|
|
4812
|
+
declare var GPUError: {
|
|
4813
|
+
prototype: GPUError;
|
|
4814
|
+
new(): GPUError;
|
|
4815
|
+
};
|
|
4816
|
+
|
|
4817
|
+
/**
|
|
4818
|
+
* The **`GPUPipelineError`** interface of the WebGPU API describes a pipeline failure.
|
|
4819
|
+
* Available only in secure contexts.
|
|
4820
|
+
*
|
|
4821
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUPipelineError)
|
|
4822
|
+
*/
|
|
4823
|
+
interface GPUPipelineError extends DOMException {
|
|
4824
|
+
/**
|
|
4825
|
+
* The **`reason`** read-only property of the GPUPipelineError interface defines the reason the pipeline creation failed in a machine-readable way.
|
|
4826
|
+
*
|
|
4827
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUPipelineError/reason)
|
|
4828
|
+
*/
|
|
4829
|
+
readonly reason: GPUPipelineErrorReason;
|
|
4830
|
+
}
|
|
4831
|
+
|
|
4832
|
+
declare var GPUPipelineError: {
|
|
4833
|
+
prototype: GPUPipelineError;
|
|
4834
|
+
new(message: string, options: GPUPipelineErrorInit): GPUPipelineError;
|
|
4835
|
+
};
|
|
4836
|
+
|
|
4808
4837
|
interface GenericTransformStream {
|
|
4809
4838
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CompressionStream/readable) */
|
|
4810
4839
|
readonly readable: ReadableStream;
|
|
@@ -13205,6 +13234,7 @@ type FontDisplay = "auto" | "block" | "fallback" | "optional" | "swap";
|
|
|
13205
13234
|
type FontFaceLoadStatus = "error" | "loaded" | "loading" | "unloaded";
|
|
13206
13235
|
type FontFaceSetLoadStatus = "loaded" | "loading";
|
|
13207
13236
|
type FrameType = "auxiliary" | "nested" | "none" | "top-level";
|
|
13237
|
+
type GPUPipelineErrorReason = "internal" | "validation";
|
|
13208
13238
|
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";
|
|
13209
13239
|
type HardwareAcceleration = "no-preference" | "prefer-hardware" | "prefer-software";
|
|
13210
13240
|
type HdrMetadataType = "smpteSt2086" | "smpteSt2094-10" | "smpteSt2094-40";
|
package/ts5.6/index.d.ts
CHANGED
|
@@ -355,6 +355,10 @@ interface FontFaceSetLoadEventInit extends EventInit {
|
|
|
355
355
|
fontfaces?: FontFace[];
|
|
356
356
|
}
|
|
357
357
|
|
|
358
|
+
interface GPUPipelineErrorInit {
|
|
359
|
+
reason: GPUPipelineErrorReason;
|
|
360
|
+
}
|
|
361
|
+
|
|
358
362
|
interface GetNotificationOptions {
|
|
359
363
|
tag?: string;
|
|
360
364
|
}
|
|
@@ -4805,6 +4809,31 @@ interface GPUError {
|
|
|
4805
4809
|
readonly message: string;
|
|
4806
4810
|
}
|
|
4807
4811
|
|
|
4812
|
+
declare var GPUError: {
|
|
4813
|
+
prototype: GPUError;
|
|
4814
|
+
new(): GPUError;
|
|
4815
|
+
};
|
|
4816
|
+
|
|
4817
|
+
/**
|
|
4818
|
+
* The **`GPUPipelineError`** interface of the WebGPU API describes a pipeline failure.
|
|
4819
|
+
* Available only in secure contexts.
|
|
4820
|
+
*
|
|
4821
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUPipelineError)
|
|
4822
|
+
*/
|
|
4823
|
+
interface GPUPipelineError extends DOMException {
|
|
4824
|
+
/**
|
|
4825
|
+
* The **`reason`** read-only property of the GPUPipelineError interface defines the reason the pipeline creation failed in a machine-readable way.
|
|
4826
|
+
*
|
|
4827
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUPipelineError/reason)
|
|
4828
|
+
*/
|
|
4829
|
+
readonly reason: GPUPipelineErrorReason;
|
|
4830
|
+
}
|
|
4831
|
+
|
|
4832
|
+
declare var GPUPipelineError: {
|
|
4833
|
+
prototype: GPUPipelineError;
|
|
4834
|
+
new(message: string, options: GPUPipelineErrorInit): GPUPipelineError;
|
|
4835
|
+
};
|
|
4836
|
+
|
|
4808
4837
|
interface GenericTransformStream {
|
|
4809
4838
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CompressionStream/readable) */
|
|
4810
4839
|
readonly readable: ReadableStream;
|
|
@@ -13205,6 +13234,7 @@ type FontDisplay = "auto" | "block" | "fallback" | "optional" | "swap";
|
|
|
13205
13234
|
type FontFaceLoadStatus = "error" | "loaded" | "loading" | "unloaded";
|
|
13206
13235
|
type FontFaceSetLoadStatus = "loaded" | "loading";
|
|
13207
13236
|
type FrameType = "auxiliary" | "nested" | "none" | "top-level";
|
|
13237
|
+
type GPUPipelineErrorReason = "internal" | "validation";
|
|
13208
13238
|
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";
|
|
13209
13239
|
type HardwareAcceleration = "no-preference" | "prefer-hardware" | "prefer-software";
|
|
13210
13240
|
type HdrMetadataType = "smpteSt2086" | "smpteSt2094-10" | "smpteSt2094-40";
|