fix: hopefully finally fix StaticImageData error

This commit is contained in:
NunoSempere 2022-10-21 13:14:09 +01:00
parent 63628c96fe
commit e8f1839a95

8
src/Global.d.ts vendored Normal file
View File

@ -0,0 +1,8 @@
// Workaround related to: https://github.com/vercel/next.js/issues/29788
// https://github.com/vercel/next.js/issues/29788#issuecomment-1000595524
declare type StaticImageData = {
src: string;
height: number;
width: number;
placeholder?: string;
};