@types/web 0.0.252 → 0.0.253

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 CHANGED
@@ -47,4 +47,4 @@ Prior to `@types/web` the web APIs were deployed with a version of TypeScript, a
47
47
 
48
48
  ## Deploy Metadata
49
49
 
50
- You can read what changed in version 0.0.252 at https://github.com/microsoft/TypeScript-DOM-lib-generator/releases/tag/%40types%2Fweb%400.0.252.
50
+ You can read what changed in version 0.0.253 at https://github.com/microsoft/TypeScript-DOM-lib-generator/releases/tag/%40types%2Fweb%400.0.253.
package/index.d.ts CHANGED
@@ -749,6 +749,10 @@ interface FullscreenOptions {
749
749
  navigationUI?: FullscreenNavigationUI;
750
750
  }
751
751
 
752
+ interface GPUPipelineErrorInit {
753
+ reason: GPUPipelineErrorReason;
754
+ }
755
+
752
756
  interface GainOptions extends AudioNodeOptions {
753
757
  gain?: number;
754
758
  }
@@ -12562,6 +12566,31 @@ interface GPUError {
12562
12566
  readonly message: string;
12563
12567
  }
12564
12568
 
12569
+ declare var GPUError: {
12570
+ prototype: GPUError;
12571
+ new(): GPUError;
12572
+ };
12573
+
12574
+ /**
12575
+ * The **`GPUPipelineError`** interface of the WebGPU API describes a pipeline failure.
12576
+ * Available only in secure contexts.
12577
+ *
12578
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUPipelineError)
12579
+ */
12580
+ interface GPUPipelineError extends DOMException {
12581
+ /**
12582
+ * The **`reason`** read-only property of the GPUPipelineError interface defines the reason the pipeline creation failed in a machine-readable way.
12583
+ *
12584
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUPipelineError/reason)
12585
+ */
12586
+ readonly reason: GPUPipelineErrorReason;
12587
+ }
12588
+
12589
+ declare var GPUPipelineError: {
12590
+ prototype: GPUPipelineError;
12591
+ new(message: string, options: GPUPipelineErrorInit): GPUPipelineError;
12592
+ };
12593
+
12565
12594
  /**
12566
12595
  * The `GainNode` interface represents a change in volume.
12567
12596
  *
@@ -39805,6 +39834,7 @@ type FontDisplay = "auto" | "block" | "fallback" | "optional" | "swap";
39805
39834
  type FontFaceLoadStatus = "error" | "loaded" | "loading" | "unloaded";
39806
39835
  type FontFaceSetLoadStatus = "loaded" | "loading";
39807
39836
  type FullscreenNavigationUI = "auto" | "hide" | "show";
39837
+ type GPUPipelineErrorReason = "internal" | "validation";
39808
39838
  type GamepadHapticEffectType = "dual-rumble" | "trigger-rumble";
39809
39839
  type GamepadHapticsResult = "complete" | "preempted";
39810
39840
  type GamepadMappingType = "" | "standard" | "xr-standard";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@types/web",
3
- "version": "0.0.252",
3
+ "version": "0.0.253",
4
4
  "description": "Types for the DOM, and other web technologies in browsers",
5
5
  "license": "Apache-2.0",
6
6
  "contributors": [],
package/ts5.5/index.d.ts CHANGED
@@ -749,6 +749,10 @@ interface FullscreenOptions {
749
749
  navigationUI?: FullscreenNavigationUI;
750
750
  }
751
751
 
752
+ interface GPUPipelineErrorInit {
753
+ reason: GPUPipelineErrorReason;
754
+ }
755
+
752
756
  interface GainOptions extends AudioNodeOptions {
753
757
  gain?: number;
754
758
  }
@@ -12551,6 +12555,31 @@ interface GPUError {
12551
12555
  readonly message: string;
12552
12556
  }
12553
12557
 
12558
+ declare var GPUError: {
12559
+ prototype: GPUError;
12560
+ new(): GPUError;
12561
+ };
12562
+
12563
+ /**
12564
+ * The **`GPUPipelineError`** interface of the WebGPU API describes a pipeline failure.
12565
+ * Available only in secure contexts.
12566
+ *
12567
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUPipelineError)
12568
+ */
12569
+ interface GPUPipelineError extends DOMException {
12570
+ /**
12571
+ * The **`reason`** read-only property of the GPUPipelineError interface defines the reason the pipeline creation failed in a machine-readable way.
12572
+ *
12573
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUPipelineError/reason)
12574
+ */
12575
+ readonly reason: GPUPipelineErrorReason;
12576
+ }
12577
+
12578
+ declare var GPUPipelineError: {
12579
+ prototype: GPUPipelineError;
12580
+ new(message: string, options: GPUPipelineErrorInit): GPUPipelineError;
12581
+ };
12582
+
12554
12583
  /**
12555
12584
  * The `GainNode` interface represents a change in volume.
12556
12585
  *
@@ -39782,6 +39811,7 @@ type FontDisplay = "auto" | "block" | "fallback" | "optional" | "swap";
39782
39811
  type FontFaceLoadStatus = "error" | "loaded" | "loading" | "unloaded";
39783
39812
  type FontFaceSetLoadStatus = "loaded" | "loading";
39784
39813
  type FullscreenNavigationUI = "auto" | "hide" | "show";
39814
+ type GPUPipelineErrorReason = "internal" | "validation";
39785
39815
  type GamepadHapticEffectType = "dual-rumble" | "trigger-rumble";
39786
39816
  type GamepadHapticsResult = "complete" | "preempted";
39787
39817
  type GamepadMappingType = "" | "standard" | "xr-standard";
package/ts5.6/index.d.ts CHANGED
@@ -749,6 +749,10 @@ interface FullscreenOptions {
749
749
  navigationUI?: FullscreenNavigationUI;
750
750
  }
751
751
 
752
+ interface GPUPipelineErrorInit {
753
+ reason: GPUPipelineErrorReason;
754
+ }
755
+
752
756
  interface GainOptions extends AudioNodeOptions {
753
757
  gain?: number;
754
758
  }
@@ -12562,6 +12566,31 @@ interface GPUError {
12562
12566
  readonly message: string;
12563
12567
  }
12564
12568
 
12569
+ declare var GPUError: {
12570
+ prototype: GPUError;
12571
+ new(): GPUError;
12572
+ };
12573
+
12574
+ /**
12575
+ * The **`GPUPipelineError`** interface of the WebGPU API describes a pipeline failure.
12576
+ * Available only in secure contexts.
12577
+ *
12578
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUPipelineError)
12579
+ */
12580
+ interface GPUPipelineError extends DOMException {
12581
+ /**
12582
+ * The **`reason`** read-only property of the GPUPipelineError interface defines the reason the pipeline creation failed in a machine-readable way.
12583
+ *
12584
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUPipelineError/reason)
12585
+ */
12586
+ readonly reason: GPUPipelineErrorReason;
12587
+ }
12588
+
12589
+ declare var GPUPipelineError: {
12590
+ prototype: GPUPipelineError;
12591
+ new(message: string, options: GPUPipelineErrorInit): GPUPipelineError;
12592
+ };
12593
+
12565
12594
  /**
12566
12595
  * The `GainNode` interface represents a change in volume.
12567
12596
  *
@@ -39805,6 +39834,7 @@ type FontDisplay = "auto" | "block" | "fallback" | "optional" | "swap";
39805
39834
  type FontFaceLoadStatus = "error" | "loaded" | "loading" | "unloaded";
39806
39835
  type FontFaceSetLoadStatus = "loaded" | "loading";
39807
39836
  type FullscreenNavigationUI = "auto" | "hide" | "show";
39837
+ type GPUPipelineErrorReason = "internal" | "validation";
39808
39838
  type GamepadHapticEffectType = "dual-rumble" | "trigger-rumble";
39809
39839
  type GamepadHapticsResult = "complete" | "preempted";
39810
39840
  type GamepadMappingType = "" | "standard" | "xr-standard";