Installation
npm install --save @types/react-native-shared-group-preferences
Summary
This package contains type definitions for react-native-shared-group-preferences (https://github.com/KjellConnelly/react-native-shared-group-preferences#readme).
Details
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/react-native-shared-group-preferences.
index.d.ts
export interface SharedGroupPreferenceOptions {
useAndroidSharedPreferences?: boolean | undefined;
}
export namespace SharedGroupPreferences {
function isAppInstalledAndroid(packageName: string): Promise<void>;
function getItem(key: string, appGroup: string, options?: SharedGroupPreferenceOptions): Promise<any>;
function setItem(key: string, value: any, appGroup: string, options?: SharedGroupPreferenceOptions): Promise<void>;
}
export default SharedGroupPreferences;
Additional Details
- Last updated: Fri, 17 Nov 2023 21:35:41 GMT
- Dependencies: none
Credits
These definitions were written by .