Appease TypeScript

This commit is contained in:
SkyfallWasTaken 2024-07-14 14:34:47 +01:00
parent 7a553d6457
commit 941dc7d566

View file

@ -36,7 +36,7 @@ let imagesLoadedEagerly = 0;
let heroImage = post.data.heroImage;
let heroImagePromise;
let heroImagePromise: any;
if (heroImage) {
/** @type {Record<string, () => Promise<{default: import('astro').ImageMetadata}>>} */
const images: any = import.meta.glob(