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 GitHub
parent 9669ca2041
commit 83ba798781
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

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