@react-native-ohos/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
24 lines • 608 B
TypeScript
import stringsIndex from './strings';
import numbersIndex from './numbers';
import boolIndex from './booleans';
import mapsIndex from './maps';
import arrayIndex from './arrays';
export default class indexer {
instanceID: string;
strings: stringsIndex;
numbers: numbersIndex;
booleans: boolIndex;
maps: mapsIndex;
arrays: arrayIndex;
constructor(id: string);
/**
* Get all keys from storage.
*
*/
getKeys(): Promise<string[]>;
/**
* Check if a key exists in storage.
*/
hasKey(key: string): boolean;
}
//# sourceMappingURL=indexer.d.ts.map