From 1c2507e6319f82d0b3165731f7e2ef35c1768634 Mon Sep 17 00:00:00 2001 From: sunnylqm Date: Sat, 6 Jul 2019 22:26:50 +0800 Subject: [PATCH] =?UTF-8?q?=E6=94=B9=E8=BF=9B=E7=B1=BB=E5=9E=8B=E5=A3=B0?= =?UTF-8?q?=E6=98=8E?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- index.d.ts | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/index.d.ts b/index.d.ts index 0f75510..9859f16 100644 --- a/index.d.ts +++ b/index.d.ts @@ -24,7 +24,9 @@ export interface UpdateAvailableResult { diffUrl: string; } -export function checkUpdate(appkey: string): Promise; +export type CheckResult = Partial; + +export function checkUpdate(appkey: string): Promise; export function downloadUpdate(options: UpdateAvailableResult): Promise;