From a1c32ceae003920385500910dc094e7bfd35b3e4 Mon Sep 17 00:00:00 2001 From: Jonas Thelemann Date: Fri, 8 Sep 2023 17:15:27 +0200 Subject: [PATCH] feat(types): add `form_factor` `narrow` and `wide` are specified to be part of `form_factor`, not `platform`: https://w3c.github.io/manifest-app-info/#form_factor-member --- src/types.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/types.ts b/src/types.ts index b9c6e865..a616330a 100644 --- a/src/types.ts +++ b/src/types.ts @@ -312,7 +312,8 @@ export interface ManifestOptions { src: string sizes: string label?: string - platform?: 'narrow' | 'wide' | 'android' | 'ios' | 'kaios' | 'macos' | 'windows' | 'windows10x' | 'chrome_web_store' | 'play' | 'itunes' | 'microsoft-inbox' | 'microsoft-store' | string + platform?: 'android' | 'ios' | 'kaios' | 'macos' | 'windows' | 'windows10x' | 'chrome_web_store' | 'play' | 'itunes' | 'microsoft-inbox' | 'microsoft-store' | string + form_factor?: 'narrow' | 'wide' type?: string }[] /**