Skip to content

Commit

Permalink
feat(types): add form_factor
Browse files Browse the repository at this point in the history
`narrow` and `wide` are specified to be part of `form_factor`, not `platform`: https://w3c.github.io/manifest-app-info/#form_factor-member
  • Loading branch information
dargmuesli authored Sep 8, 2023
1 parent 31ccaa8 commit a1c32ce
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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
}[]
/**
Expand Down

0 comments on commit a1c32ce

Please sign in to comment.