From 83ba798781a97d8da01f1d8ca7d931ef3ce6d020 Mon Sep 17 00:00:00 2001 From: zxin <14545600+NHZEX@users.noreply.github.com> Date: Wed, 25 Sep 2024 18:44:30 +0800 Subject: [PATCH] chore(types): remove type declaration for document.startViewTransition (TypeScript 5.6 includes it) (#633) --- 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 d53c4871..081c8bde 100644 --- a/src/typings/global.d.ts +++ b/src/typings/global.d.ts @@ -14,14 +14,6 @@ declare global { $notification?: import('naive-ui').NotificationProviderInst; } - interface ViewTransition { - ready: Promise; - } - - export interface Document { - startViewTransition?: (callback: () => Promise | void) => ViewTransition; - } - /** Build time of the project */ export const BUILD_TIME: string; }