From 8c04c77f99b417d7e88eb3227fb64c610041176c Mon Sep 17 00:00:00 2001 From: Griffin Castles Date: Mon, 5 Feb 2024 19:10:14 +0800 Subject: [PATCH] =?UTF-8?q?=F0=9F=A6=84=20refactor(util):=20Fix=20type=20a?= =?UTF-8?q?nnotation?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Fix type annotation in `getLatestSeleneRelease` function --- selene-vscode/src/util.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/selene-vscode/src/util.ts b/selene-vscode/src/util.ts index 34fe12fd..586ebe04 100644 --- a/selene-vscode/src/util.ts +++ b/selene-vscode/src/util.ts @@ -29,7 +29,7 @@ export async function getLatestSeleneRelease(): Promise { headers: { "User-Agent": "selene-vscode", }, - }).then((body) => { + }).then((body: any) => { return JSON.parse(body) as GithubRelease }) }