mirror of
https://github.com/SkyfallWasTaken/skyfalldev.git
synced 2024-11-10 04:09:38 +00:00
Appease TypeScript
This commit is contained in:
parent
7a553d6457
commit
941dc7d566
1 changed files with 1 additions and 1 deletions
|
@ -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(
|
||||
|
|
Loading…
Reference in a new issue