Skip to content

Commit

Permalink
chore(types): remove type declaration for document.startViewTransitio…
Browse files Browse the repository at this point in the history
…n (TypeScript 5.6 includes it) (#44)
  • Loading branch information
Azir-11 authored Sep 27, 2024
1 parent c8ec1c7 commit e154fe6
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions src/typings/global.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,14 +12,6 @@ declare global {
$notification?: import('ant-design-vue/es/notification/interface').NotificationInstance;
}

interface ViewTransition {
ready: Promise<void>;
}

export interface Document {
startViewTransition?: (callback: () => Promise<void> | void) => ViewTransition;
}

/** Build time of the project */
export const BUILD_TIME: string;
}

0 comments on commit e154fe6

Please sign in to comment.