From 23fa341679dd7b617b51b82dc3a0390372cff3b3 Mon Sep 17 00:00:00 2001 From: Malash Date: Wed, 31 Oct 2018 11:59:25 +0800 Subject: [PATCH] [weixin-app] Fix wx.getStorageInfoSync return type --- 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 376d8955e1..4e308ebd91 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;