chore(web): type fixes

This commit is contained in:
Zack Spear
2023-10-30 17:24:23 -07:00
committed by Zack Spear
parent 3145e30cf1
commit 220a64ebdc
17 changed files with 60 additions and 58 deletions

View File

@@ -47,7 +47,7 @@ export const keyLatest = async (payload: KeyLatestPayload) => await KeyServer
.formUrl(payload)
.post();
export const getOsReleaseBySha256 = async (sha256: string): Release => await KeyServer
export const getOsReleaseBySha256 = async (sha256: string): Promise<Release> => await KeyServer
.url(`/versions/sha256/${sha256}`)
.get()
.json();