Skip to content

UI Library for Design Engineers. Animated components and effects you can copy and paste into your apps. Free. Open Source.

fix: remove unused types

Dillion Vermac95ba96db773
diff --git a/types/index.d.ts b/types/index.d.ts
index 78bd771a..33f1946c 100644
--- a/types/index.d.ts
+++ b/types/index.d.ts
@@ -1,11 +1,5 @@
import { Icons } from "@/components/icons";
-declare global {
- interface Window {
- ApplePaySession: any;
- }
-}
-
export interface NavItem {
title: string;
href?: string;
@@ -27,19 +21,3 @@ export type DashboardConfig = {
mainNav: MainNavItem[];
sidebarNav: SidebarNavItem[];
};
-
-export type SubscriptionPlan = {
- name: string;
- description: string;
- stripePriceId: string;
-};
-
-export type UserSubscriptionPlan = SubscriptionPlan &
- Pick<User, "stripeCustomerId" | "stripeSubscriptionId"> & {
- stripeCurrentPeriodEnd: number;
- isPro: boolean;
- };
-
-export type UserPayments = Pick<User> & {
- payments: Payment[];
-};