fix: build issue
Some checks failed
Build, check & Test / run (push) Failing after 1m19s

Signed-off-by: Florian BOUILLON <f.bouillon@aptatio.com>
This commit is contained in:
Florian Bouillon 2023-07-20 17:49:32 +02:00
parent cef58aaca6
commit ae901537e7

View File

@ -1,7 +1,11 @@
import { getImage } from 'astro:assets' import { getImage } from 'astro:assets'
export default class Manifest { export default class Manifest {
static async create(baseImage, options) { static async create(baseImage: ImageMetadata, options: {
name: string
color?: string
images?: Array<number>
}) {
const [ const [
i192, i192,
i512 i512
@ -27,7 +31,6 @@ export default class Manifest {
theme_color: options.color ?? "#fff", theme_color: options.color ?? "#fff",
background_color: options.color ?? "#fff", background_color: options.color ?? "#fff",
display: "standalone" display: "standalone"
} })
)
} }
} }