chore(types): remove type declaration for document.startViewTransition (TypeScript 5.6 includes it) (#633)
This commit is contained in:
parent
9669ca2041
commit
83ba798781
8
src/typings/global.d.ts
vendored
8
src/typings/global.d.ts
vendored
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user