@stated-library/core
Version:
Core functionality for [`Stated Libraries`](https://github.com/bradfordlemley/stated-library)
15 lines (14 loc) • 539 B
TypeScript
export declare function createLocalStorageConnector(): {
clear: () => void;
connectedLibs: {};
connect: <State>(lib: import("@stated-library/interface").StatedLibraryInterface<State, State, {}>, key: string) => any;
disconnect: () => void;
};
declare const locStorage: {
clear: () => void;
connectedLibs: {};
connect: <State>(lib: import("@stated-library/interface").StatedLibraryInterface<State, State, {}>, key: string) => any;
disconnect: () => void;
};
export default locStorage;
export { locStorage };