@huds0n/shared-state-store-rn
Version:
Share States React Native store creator
17 lines • 585 B
TypeScript
import { SharedStateTypes } from '@huds0n/shared-state';
export declare namespace Types {
type Replacer = (key: string, value: any) => any;
type Reviver = (key: string, value: any) => any;
type Options<S extends SharedStateTypes.State> = {
encryptionKey?: string | null;
excludeKeys?: (keyof S)[];
includeKeys?: (keyof S)[];
load?: boolean;
replacer?: Replacer;
reviver?: Reviver;
saveAutomatically?: boolean;
saveOnBackground?: boolean;
storeName: string;
};
}
//# sourceMappingURL=types.d.ts.map