chore(types): remove type declaration for document.startViewTransition (TypeScript 5.6 includes it) (#633)

This commit is contained in:
zxin 2024-09-25 18:44:30 +08:00 committed by Scott Hu
parent cc3004b196
commit 313efe21fe

View File

@ -14,14 +14,6 @@ declare global {
$notification?: import('naive-ui').NotificationProviderInst; $notification?: import('naive-ui').NotificationProviderInst;
} }
interface ViewTransition {
ready: Promise<void>;
}
export interface Document {
startViewTransition?: (callback: () => Promise<void> | void) => ViewTransition;
}
/** Build time of the project */ /** Build time of the project */
export const BUILD_TIME: string; export const BUILD_TIME: string;
} }