better ergonomics for versions (#2717)

This commit is contained in:
Matt Hill
2024-08-19 13:44:57 -06:00
committed by GitHub
parent 6a8d8babce
commit a083f25b6c
10 changed files with 28 additions and 51 deletions

View File

@@ -22,7 +22,7 @@ const VERSION_2 = new Uint8Array([2])
export class SideloadPage {
isMobile = isPlatform(window, 'ios') || isPlatform(window, 'android')
toUpload: {
manifest: T.Manifest | null
manifest: { title: string; version: string } | null
icon: string | null
file: File | null
} = {