mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-10-03 22:37:03 +00:00
Merge pull request #30156 from malash/fix-get-storage-info-sync
[weixin-app] Fix wx.getStorageInfoSync return type
This commit is contained in:
Vendored
+1
-1
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user