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 42bf248 commit 956ab9fCopy full SHA for 956ab9f
src/ui/app/types/images.d.ts
@@ -1,6 +1,4 @@
1
-import type { StaticImageData } from 'next/image';
2
-
3
declare module '*.png' {
4
- const content: StaticImageData;
+ const content: import('next/image').StaticImageData;
5
export default content;
6
}
src/ui/tsconfig.json
@@ -12,6 +12,6 @@
12
"**/*.tsx",
13
".next/types/**/*.ts",
14
"app",
15
- "images.d.ts"
+ "./app/types/images.d.ts"
16
]
17
0 commit comments