Skip to content

Commit 83ba798

Browse files
authored
chore(types): remove type declaration for document.startViewTransition (TypeScript 5.6 includes it) (#633)
1 parent 9669ca2 commit 83ba798

File tree

1 file changed

+0
-8
lines changed

1 file changed

+0
-8
lines changed

src/typings/global.d.ts

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -14,14 +14,6 @@ declare global {
1414
$notification?: import('naive-ui').NotificationProviderInst;
1515
}
1616

17-
interface ViewTransition {
18-
ready: Promise<void>;
19-
}
20-
21-
export interface Document {
22-
startViewTransition?: (callback: () => Promise<void> | void) => ViewTransition;
23-
}
24-
2517
/** Build time of the project */
2618
export const BUILD_TIME: string;
2719
}

0 commit comments

Comments
 (0)