UNPKG

minigame-std

Version:

Mini Game Standard Development Library.

24 lines (13 loc) 458 B
[**minigame-std**](../../../README.md) *** [minigame-std](../../../README.md) / [storage](../README.md) / clear # Function: clear() ```ts function clear(): AsyncVoidIOResult ``` 清除所有的本地存储数据。 ## Returns `AsyncVoidIOResult` 返回一个 Promise,表示操作完成。 ## Defined in [src/std/storage/mod.ts:61](https://github.com/JiangJie/minigame-std/blob/8633d80114dee6c79033ec094d8233bd8263bedc/src/std/storage/mod.ts#L61)