@types/react-native-shared-group-preferences
TypeScript icon, indicating that this package has built-in type declarations

1.1.4 • Public • Published

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 .

Readme

Keywords

none

Package Sidebar

Install

npm i @types/react-native-shared-group-preferences

Weekly Downloads

1,650

Version

1.1.4

License

MIT

Unpacked Size

3.58 kB

Total Files

5

Last publish

Collaborators

  • types