Merge pull request #30156 from malash/fix-get-storage-info-sync

[weixin-app] Fix wx.getStorageInfoSync return type
This commit is contained in:
Daniel Rosenwasser
2018-11-01 17:13:28 -07:00
committed by GitHub
+1 -1
View File
@@ -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;