optimize(projects): optimize code

This commit is contained in:
Soybean
2024-06-15 00:49:24 +08:00
parent 3eeace94dd
commit b94baa18c1
2 changed files with 5 additions and 5 deletions

View File

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