From 20e5d33e311376ff17c3bdf26217d4955f8237c0 Mon Sep 17 00:00:00 2001 From: Tony Date: Sat, 29 Mar 2025 00:42:09 +0800 Subject: [PATCH] Deprecate `Update.available` --- plugins/updater/guest-js/index.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/plugins/updater/guest-js/index.ts b/plugins/updater/guest-js/index.ts index 1aade7b3..87f7929a 100644 --- a/plugins/updater/guest-js/index.ts +++ b/plugins/updater/guest-js/index.ts @@ -53,6 +53,7 @@ type DownloadEvent = class Update extends Resource { // TODO: remove this field in v3 + /** @deprecated This is always true, check if the return value is `null` instead when using {@linkcode check} */ available: boolean currentVersion: string version: string