Skip to content

Commit e154fe6

Browse files
authored
chore(types): remove type declaration for document.startViewTransition (TypeScript 5.6 includes it) (#44)
1 parent c8ec1c7 commit e154fe6

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
@@ -12,14 +12,6 @@ declare global {
1212
$notification?: import('ant-design-vue/es/notification/interface').NotificationInstance;
1313
}
1414

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

0 commit comments

Comments
 (0)