@types/web 0.0.252 → 0.0.254

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.254 at https://github.com/microsoft/TypeScript-DOM-lib-generator/releases/tag/%40types%2Fweb%400.0.254.
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
  *
@@ -26651,7 +26680,9 @@ declare var Response: {
26651
26680
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGAElement)
26652
26681
  */
26653
26682
  interface SVGAElement extends SVGGraphicsElement, SVGURIReference {
26683
+ /** The **`rel`** property of the SVGAElement returns a string reflecting the value of the `rel` attribute of the SVG a element. */
26654
26684
  rel: string;
26685
+ /** The **`relList`** read-only property of the SVGAElement returns a live DOMTokenList reflecting the space-separated string `<list-of-Link-Types>` values of the `rel` attribute of the SVG a element. */
26655
26686
  get relList(): DOMTokenList;
26656
26687
  set relList(value: string);
26657
26688
  /**
@@ -33064,7 +33095,7 @@ declare var URL: {
33064
33095
  */
33065
33096
  canParse(url: string | URL, base?: string | URL): boolean;
33066
33097
  /**
33067
- * The **`createObjectURL()`** static method of the URL interface creates a string containing a URL representing the object given in the parameter.
33098
+ * The **`createObjectURL()`** static method of the URL interface creates a string containing a blob URL pointing to the object given in the parameter.
33068
33099
  *
33069
33100
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/URL/createObjectURL_static)
33070
33101
  */
@@ -39805,6 +39836,7 @@ type FontDisplay = "auto" | "block" | "fallback" | "optional" | "swap";
39805
39836
  type FontFaceLoadStatus = "error" | "loaded" | "loading" | "unloaded";
39806
39837
  type FontFaceSetLoadStatus = "loaded" | "loading";
39807
39838
  type FullscreenNavigationUI = "auto" | "hide" | "show";
39839
+ type GPUPipelineErrorReason = "internal" | "validation";
39808
39840
  type GamepadHapticEffectType = "dual-rumble" | "trigger-rumble";
39809
39841
  type GamepadHapticsResult = "complete" | "preempted";
39810
39842
  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.254",
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
  *
@@ -26630,7 +26659,9 @@ declare var Response: {
26630
26659
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGAElement)
26631
26660
  */
26632
26661
  interface SVGAElement extends SVGGraphicsElement, SVGURIReference {
26662
+ /** The **`rel`** property of the SVGAElement returns a string reflecting the value of the `rel` attribute of the SVG a element. */
26633
26663
  rel: string;
26664
+ /** The **`relList`** read-only property of the SVGAElement returns a live DOMTokenList reflecting the space-separated string `<list-of-Link-Types>` values of the `rel` attribute of the SVG a element. */
26634
26665
  readonly relList: DOMTokenList;
26635
26666
  /**
26636
26667
  * The **`SVGAElement.target`** read-only property of SVGAElement returns an SVGAnimatedString object that specifies the portion of a target window, frame, pane into which a document is to be opened when a link is activated.
@@ -33041,7 +33072,7 @@ declare var URL: {
33041
33072
  */
33042
33073
  canParse(url: string | URL, base?: string | URL): boolean;
33043
33074
  /**
33044
- * The **`createObjectURL()`** static method of the URL interface creates a string containing a URL representing the object given in the parameter.
33075
+ * The **`createObjectURL()`** static method of the URL interface creates a string containing a blob URL pointing to the object given in the parameter.
33045
33076
  *
33046
33077
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/URL/createObjectURL_static)
33047
33078
  */
@@ -39782,6 +39813,7 @@ type FontDisplay = "auto" | "block" | "fallback" | "optional" | "swap";
39782
39813
  type FontFaceLoadStatus = "error" | "loaded" | "loading" | "unloaded";
39783
39814
  type FontFaceSetLoadStatus = "loaded" | "loading";
39784
39815
  type FullscreenNavigationUI = "auto" | "hide" | "show";
39816
+ type GPUPipelineErrorReason = "internal" | "validation";
39785
39817
  type GamepadHapticEffectType = "dual-rumble" | "trigger-rumble";
39786
39818
  type GamepadHapticsResult = "complete" | "preempted";
39787
39819
  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
  *
@@ -26651,7 +26680,9 @@ declare var Response: {
26651
26680
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGAElement)
26652
26681
  */
26653
26682
  interface SVGAElement extends SVGGraphicsElement, SVGURIReference {
26683
+ /** The **`rel`** property of the SVGAElement returns a string reflecting the value of the `rel` attribute of the SVG a element. */
26654
26684
  rel: string;
26685
+ /** The **`relList`** read-only property of the SVGAElement returns a live DOMTokenList reflecting the space-separated string `<list-of-Link-Types>` values of the `rel` attribute of the SVG a element. */
26655
26686
  get relList(): DOMTokenList;
26656
26687
  set relList(value: string);
26657
26688
  /**
@@ -33064,7 +33095,7 @@ declare var URL: {
33064
33095
  */
33065
33096
  canParse(url: string | URL, base?: string | URL): boolean;
33066
33097
  /**
33067
- * The **`createObjectURL()`** static method of the URL interface creates a string containing a URL representing the object given in the parameter.
33098
+ * The **`createObjectURL()`** static method of the URL interface creates a string containing a blob URL pointing to the object given in the parameter.
33068
33099
  *
33069
33100
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/URL/createObjectURL_static)
33070
33101
  */
@@ -39805,6 +39836,7 @@ type FontDisplay = "auto" | "block" | "fallback" | "optional" | "swap";
39805
39836
  type FontFaceLoadStatus = "error" | "loaded" | "loading" | "unloaded";
39806
39837
  type FontFaceSetLoadStatus = "loaded" | "loading";
39807
39838
  type FullscreenNavigationUI = "auto" | "hide" | "show";
39839
+ type GPUPipelineErrorReason = "internal" | "validation";
39808
39840
  type GamepadHapticEffectType = "dual-rumble" | "trigger-rumble";
39809
39841
  type GamepadHapticsResult = "complete" | "preempted";
39810
39842
  type GamepadMappingType = "" | "standard" | "xr-standard";