// Manually declare modules and interfaces usually provided by vite/client // to fix "Cannot find type definition file for 'vite/client'" error. declare module '*.svg' { import * as React from 'react'; export const ReactComponent: React.FunctionComponent & { title?: string }>; const src: string; export default src; } declare module '*.jpg' { const content: string; export default content; } declare module '*.png' { const content: string; export default content; } declare module '*.json' { const content: string; export default content; } declare module '*.module.css' { const classes: { readonly [key: string]: string }; export default classes; } interface ImportMetaEnv { readonly VITE_SUPABASE_URL: string; readonly VITE_SUPABASE_ANON_KEY: string; readonly VITE_SCRAPER_URL: string; readonly API_KEY: string; } interface ImportMeta { readonly env: ImportMetaEnv; }