12 lines
309 B
TypeScript
12 lines
309 B
TypeScript
// Build-only asset declarations. Public declarations never expose Vite types.
|
|
declare module "*.svg" {
|
|
const url: string
|
|
export default url
|
|
}
|
|
|
|
declare module "*.css" {}
|
|
|
|
interface ImportMeta {
|
|
glob<T>(patterns: string[], options: { eager: true; query: "?url"; import: "default" }): Record<string, T>
|
|
}
|