Skip to content

Commit 956ab9f

Browse files
committed
try something else that won't work
1 parent 42bf248 commit 956ab9f

File tree

2 files changed

+2
-4
lines changed

2 files changed

+2
-4
lines changed

src/ui/app/types/images.d.ts

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,4 @@
1-
import type { StaticImageData } from 'next/image';
2-
31
declare module '*.png' {
4-
const content: StaticImageData;
2+
const content: import('next/image').StaticImageData;
53
export default content;
64
}

src/ui/tsconfig.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,6 @@
1212
"**/*.tsx",
1313
".next/types/**/*.ts",
1414
"app",
15-
"images.d.ts"
15+
"./app/types/images.d.ts"
1616
]
1717
}

0 commit comments

Comments
 (0)