react-native-mmkv-storage
Version:
This library aims to provide a fast & reliable solution for you data storage needs in react-native apps. It uses [MMKV](https://github.com/Tencent/MMKV) by Tencent under the hood on Android and iOS both that is used by their WeChat app(more than 1 Billion
21 lines • 423 B
TypeScript
/**
* Index of all objects stored in storage.
*/
export default class mapsIndex {
instanceID: string;
constructor(id: string);
/**
*
* Get all keys
*/
getKeys(): Promise<string[]>;
/**
* Check if a key exists.
*/
hasKey(key: string): boolean;
/**
* Get all objects stored in storage.
*/
getAll<T>(): Promise<unknown>;
}
//# sourceMappingURL=maps.d.ts.map