// Ambient declarations. // // `declare module '*.css'`: TypeScript 6 with `moduleResolution: Bundler` // rejects a bare `import './globals.css'` unless the asset module is // declared. Vite resolves it at build time; the declaration is type-only. declare module '*.css' // Minimal typing for Vite's `import.meta.glob` (used by src/lib/releases.ts) // so the app typechecks without depending on `vite/client` types being // resolvable. Vite provides the real implementation at build time. interface ImportMeta { readonly glob: ( pattern: string | ReadonlyArray, options?: { query?: string; import?: string; eager?: boolean }, ) => Record }