From 51e28fa6077c554c7f91004c2f65d9514ce0c5ee Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=9D=92=E8=8F=9C=E7=99=BD=E7=8E=89=E6=B1=A4?= <79054161+Azir-11@users.noreply.github.com> Date: Fri, 27 Sep 2024 02:08:03 +0000 Subject: [PATCH] chore(types): remove type declaration for document.startViewTransition (TypeScript 5.6 includes it) --- src/typings/global.d.ts | 8 -------- 1 file changed, 8 deletions(-) diff --git a/src/typings/global.d.ts b/src/typings/global.d.ts index d170361..e9f3dc4 100644 --- a/src/typings/global.d.ts +++ b/src/typings/global.d.ts @@ -12,14 +12,6 @@ declare global { $notification?: import('ant-design-vue/es/notification/interface').NotificationInstance; } - interface ViewTransition { - ready: Promise; - } - - export interface Document { - startViewTransition?: (callback: () => Promise | void) => ViewTransition; - } - /** Build time of the project */ export const BUILD_TIME: string; }