Skip to content
Source
Sign inSign up
TanStack/ai
Open History to see the last commit

globals.d.ts

7 lines247 Bytes

1// Vite query-suffix imports (e.g. `import css from './styles.css?url'`)
2// return the asset URL as a string. TS doesn't know about this without a
3// module declaration shim.
4declare module '*.css?url' {
5 const url: string
6 export default url
7}