From e8f1839a9543b0b23ae888fbd71de2c69db71a11 Mon Sep 17 00:00:00 2001 From: NunoSempere Date: Fri, 21 Oct 2022 13:14:09 +0100 Subject: [PATCH] fix: hopefully finally fix StaticImageData error --- src/Global.d.ts | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 src/Global.d.ts diff --git a/src/Global.d.ts b/src/Global.d.ts new file mode 100644 index 0000000..9ba1744 --- /dev/null +++ b/src/Global.d.ts @@ -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; +};