UNPKG

state-manager-utility

Version:
14 lines (13 loc) 515 B
/**************************************** * Gateway for storage utility * implements SetItem,GetItem, using storage-utility ****************************************/ export type SetItemFn = (key: string, value: any) => void; export type GetItemFn = (key: string) => any; declare let SetItem: SetItemFn; declare let GetItem: GetItemFn; declare function InitializeLocalStorageUtils({ ...props }: { SetItem: SetItemFn; GetItem: GetItemFn; }): void; export { GetItem, SetItem, InitializeLocalStorageUtils };