From 21f0542772817bb19fd2584d4fbb7c63ccf117bf Mon Sep 17 00:00:00 2001 From: taoqf Date: Tue, 30 Oct 2018 10:46:58 +0800 Subject: [PATCH] [weixain-app] fix return types --- types/weixin-app/index.d.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/types/weixin-app/index.d.ts b/types/weixin-app/index.d.ts index cba3990577..99bc9ffa09 100644 --- a/types/weixin-app/index.d.ts +++ b/types/weixin-app/index.d.ts @@ -974,7 +974,7 @@ declare namespace wx { * 异步获取当前storage的相关信息 */ function getStorageInfo(options: GetStorageInfoOptions): void; - function getStorageInfoSync(): GetStorageInfoOptions; + function getStorageInfoSync(): StorageInfo; interface RemoveStorageOptions extends BaseOptions { key: string; success?(res: DataResponse): void;