We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c2ecfc1 commit 33005dbCopy full SHA for 33005db
README.md
@@ -41,7 +41,7 @@ file at `src/ambient.d.ts`:
41
```js
42
// Squelch warnings of all imports from your image assets dir
43
declare module '$lib/assets/*' {
44
- const image: Record<string, any>
+ const image: Record<string, any>[]
45
export default image
46
}
47
```
src/ambient.d.ts
@@ -1,2 +1,8 @@
1
-declare module '*?run'
2
-declare module '*&run'
+declare module '*?run' {
3
+ export default image
4
+}
5
+declare module '*&run' {
6
7
8
0 commit comments