From 02f95efe7bd3bf7c711907355c955db0ebe4f361 Mon Sep 17 00:00:00 2001 From: Damien Ostler Date: Sun, 26 May 2024 20:20:47 -0400 Subject: [PATCH] fix: everything type safe --- app/api/galleries/images/route.ts | 0 app/layout.tsx | 1 - tsconfig.json | 2 +- types/react-easy-panzoom.d.ts | 3 +++ 4 files changed, 4 insertions(+), 2 deletions(-) delete mode 100644 app/api/galleries/images/route.ts create mode 100644 types/react-easy-panzoom.d.ts diff --git a/app/api/galleries/images/route.ts b/app/api/galleries/images/route.ts deleted file mode 100644 index e69de29..0000000 diff --git a/app/layout.tsx b/app/layout.tsx index 692ea46..5c1d0c6 100644 --- a/app/layout.tsx +++ b/app/layout.tsx @@ -1,7 +1,6 @@ import { GeistSans } from "geist/font/sans"; import "./globals.css"; import NavigationBar from "@/components/NavigationBar"; -import { Vortex } from "@/components/ui/vortex"; const defaultUrl = process.env.VERCEL_URL ? `https://${process.env.VERCEL_URL}` diff --git a/tsconfig.json b/tsconfig.json index e06a445..7c105b4 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -24,5 +24,5 @@ } }, "include": ["next-env.d.ts", "**/*.ts", "**/*.tsx", ".next/types/**/*.ts"], - "exclude": ["node_modules"] + "exclude": ["node_modules","supabase/volumes/functions/**/*"] } diff --git a/types/react-easy-panzoom.d.ts b/types/react-easy-panzoom.d.ts new file mode 100644 index 0000000..00acc5d --- /dev/null +++ b/types/react-easy-panzoom.d.ts @@ -0,0 +1,3 @@ +// types/react-easy-panzoom.d.ts + +declare module 'react-easy-panzoom'; \ No newline at end of file