@types/web 0.0.158 → 0.0.159

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.158 at https://github.com/microsoft/TypeScript-DOM-lib-generator/releases/tag/%40types%2Fweb%400.0.158.
50
+ You can read what changed in version 0.0.159 at https://github.com/microsoft/TypeScript-DOM-lib-generator/releases/tag/%40types%2Fweb%400.0.159.
package/index.d.ts CHANGED
@@ -7612,7 +7612,7 @@ interface Document extends Node, DocumentOrShadowRoot, FontFaceSource, GlobalEve
7612
7612
  /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Document/requestStorageAccess) */
7613
7613
  requestStorageAccess(): Promise<void>;
7614
7614
  /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Document/startViewTransition) */
7615
- startViewTransition(callbackOptions?: UpdateCallback): ViewTransition;
7615
+ startViewTransition(callbackOptions?: ViewTransitionUpdateCallback): ViewTransition;
7616
7616
  /**
7617
7617
  * Writes one or more HTML expressions to a document in the specified window.
7618
7618
  * @param content Specifies the text and HTML tags to write.
@@ -27118,10 +27118,6 @@ interface UnderlyingSourceStartCallback<R> {
27118
27118
  (controller: ReadableStreamController<R>): any;
27119
27119
  }
27120
27120
 
27121
- interface UpdateCallback {
27122
- (): any;
27123
- }
27124
-
27125
27121
  interface VideoFrameOutputCallback {
27126
27122
  (output: VideoFrame): void;
27127
27123
  }
@@ -27130,6 +27126,10 @@ interface VideoFrameRequestCallback {
27130
27126
  (now: DOMHighResTimeStamp, metadata: VideoFrameCallbackMetadata): void;
27131
27127
  }
27132
27128
 
27129
+ interface ViewTransitionUpdateCallback {
27130
+ (): any;
27131
+ }
27132
+
27133
27133
  interface VoidFunction {
27134
27134
  (): void;
27135
27135
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@types/web",
3
- "version": "0.0.158",
3
+ "version": "0.0.159",
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
@@ -7612,7 +7612,7 @@ interface Document extends Node, DocumentOrShadowRoot, FontFaceSource, GlobalEve
7612
7612
  /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Document/requestStorageAccess) */
7613
7613
  requestStorageAccess(): Promise<void>;
7614
7614
  /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Document/startViewTransition) */
7615
- startViewTransition(callbackOptions?: UpdateCallback): ViewTransition;
7615
+ startViewTransition(callbackOptions?: ViewTransitionUpdateCallback): ViewTransition;
7616
7616
  /**
7617
7617
  * Writes one or more HTML expressions to a document in the specified window.
7618
7618
  * @param content Specifies the text and HTML tags to write.
@@ -27118,10 +27118,6 @@ interface UnderlyingSourceStartCallback<R> {
27118
27118
  (controller: ReadableStreamController<R>): any;
27119
27119
  }
27120
27120
 
27121
- interface UpdateCallback {
27122
- (): any;
27123
- }
27124
-
27125
27121
  interface VideoFrameOutputCallback {
27126
27122
  (output: VideoFrame): void;
27127
27123
  }
@@ -27130,6 +27126,10 @@ interface VideoFrameRequestCallback {
27130
27126
  (now: DOMHighResTimeStamp, metadata: VideoFrameCallbackMetadata): void;
27131
27127
  }
27132
27128
 
27129
+ interface ViewTransitionUpdateCallback {
27130
+ (): any;
27131
+ }
27132
+
27133
27133
  interface VoidFunction {
27134
27134
  (): void;
27135
27135
  }