Skip to content

Commit

Permalink
Manually update to [email protected] (#1794)
Browse files Browse the repository at this point in the history
Co-authored-by: saschanaz <[email protected]>
  • Loading branch information
saschanaz and saschanaz authored Aug 30, 2024
1 parent d4a482f commit e37f996
Show file tree
Hide file tree
Showing 5 changed files with 19 additions and 18 deletions.
10 changes: 5 additions & 5 deletions baselines/dom.generated.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7610,7 +7610,7 @@ interface Document extends Node, DocumentOrShadowRoot, FontFaceSource, GlobalEve
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Document/requestStorageAccess) */
requestStorageAccess(): Promise<void>;
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Document/startViewTransition) */
startViewTransition(callbackOptions?: UpdateCallback): ViewTransition;
startViewTransition(callbackOptions?: ViewTransitionUpdateCallback): ViewTransition;
/**
* Writes one or more HTML expressions to a document in the specified window.
* @param content Specifies the text and HTML tags to write.
Expand Down Expand Up @@ -27116,10 +27116,6 @@ interface UnderlyingSourceStartCallback<R> {
(controller: ReadableStreamController<R>): any;
}

interface UpdateCallback {
(): any;
}

interface VideoFrameOutputCallback {
(output: VideoFrame): void;
}
Expand All @@ -27128,6 +27124,10 @@ interface VideoFrameRequestCallback {
(now: DOMHighResTimeStamp, metadata: VideoFrameCallbackMetadata): void;
}

interface ViewTransitionUpdateCallback {
(): any;
}

interface VoidFunction {
(): void;
}
Expand Down
10 changes: 5 additions & 5 deletions baselines/ts5.5/dom.generated.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7610,7 +7610,7 @@ interface Document extends Node, DocumentOrShadowRoot, FontFaceSource, GlobalEve
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Document/requestStorageAccess) */
requestStorageAccess(): Promise<void>;
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Document/startViewTransition) */
startViewTransition(callbackOptions?: UpdateCallback): ViewTransition;
startViewTransition(callbackOptions?: ViewTransitionUpdateCallback): ViewTransition;
/**
* Writes one or more HTML expressions to a document in the specified window.
* @param content Specifies the text and HTML tags to write.
Expand Down Expand Up @@ -27116,10 +27116,6 @@ interface UnderlyingSourceStartCallback<R> {
(controller: ReadableStreamController<R>): any;
}

interface UpdateCallback {
(): any;
}

interface VideoFrameOutputCallback {
(output: VideoFrame): void;
}
Expand All @@ -27128,6 +27124,10 @@ interface VideoFrameRequestCallback {
(now: DOMHighResTimeStamp, metadata: VideoFrameCallbackMetadata): void;
}

interface ViewTransitionUpdateCallback {
(): any;
}

interface VoidFunction {
(): void;
}
Expand Down
2 changes: 1 addition & 1 deletion inputfiles/overridingTypes.jsonc
Original file line number Diff line number Diff line change
Expand Up @@ -737,7 +737,7 @@
// StartViewTransitionOptions is not implemented as of 2024-06
{
"name": "callbackOptions",
"type": "UpdateCallback"
"type": "ViewTransitionUpdateCallback"
}
],
}
Expand Down
3 changes: 2 additions & 1 deletion inputfiles/removedTypes.jsonc
Original file line number Diff line number Diff line change
Expand Up @@ -677,7 +677,8 @@
"RTCRtpEncodingParameters": {
"members": {
"member": {
"scalabilityMode": null // Blink only as of 2022-09
"codec": null, // Blink only as of 2024-08
"scalabilityMode": null // Blink only as of 2024-08
}
}
},
Expand Down
12 changes: 6 additions & 6 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit e37f996

Please sign in to comment.