From e0857d48ad80c946ec82600cb3f9f088ed704825 Mon Sep 17 00:00:00 2001 From: sunnylqm Date: Tue, 5 Jul 2022 07:53:03 +0800 Subject: [PATCH] Update index.d.ts --- lib/index.d.ts | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/lib/index.d.ts b/lib/index.d.ts index 1fb7f2d..526e344 100644 --- a/lib/index.d.ts +++ b/lib/index.d.ts @@ -84,4 +84,11 @@ interface ProgressData { total: number; } -export function simpleUpdate(wrappedComponent: any): any; +interface SimpleUpdateOptions { + appKey: string; +} + +export function simpleUpdate( + wrappedComponent: any, + options: SimpleUpdateOptions, +): any;