From ae901537e7f29a18ee7adc503f73e4ad73b17001 Mon Sep 17 00:00:00 2001 From: Florian BOUILLON Date: Thu, 20 Jul 2023 17:49:32 +0200 Subject: [PATCH] fix: build issue Signed-off-by: Florian BOUILLON --- src/components/Favicon/Manifest.ts | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/src/components/Favicon/Manifest.ts b/src/components/Favicon/Manifest.ts index 25b62e3..ea1503c 100644 --- a/src/components/Favicon/Manifest.ts +++ b/src/components/Favicon/Manifest.ts @@ -1,7 +1,11 @@ import { getImage } from 'astro:assets' export default class Manifest { - static async create(baseImage, options) { + static async create(baseImage: ImageMetadata, options: { + name: string + color?: string + images?: Array + }) { const [ i192, i512 @@ -27,7 +31,6 @@ export default class Manifest { theme_color: options.color ?? "#fff", background_color: options.color ?? "#fff", display: "standalone" - } - ) + }) } }