1.1.4 • Published 6 months ago

@types/react-native-shared-group-preferences v1.1.4

Weekly downloads
242
License
MIT
Repository
github
Last release
6 months ago

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

// Type definitions for react-native-shared-group-preferences 1.1
// Project: https://github.com/KjellConnelly/react-native-shared-group-preferences#readme
// Definitions by: Cambo <https://github.com/indentedspace>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped

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: Thu, 08 Jul 2021 22:41:17 GMT
  • Dependencies: none
  • Global values: none

Credits

These definitions were written by Cambo.