UNPKG

416 BTypeScriptView Raw
1/**
2 * This is basically localStorage in browser, or a polyfill in nodejs
3 */
4export const varStorage: any;
5export function onChange(eventHandler: (arg0: {
6 key: string;
7 newValue: string;
8 oldValue: string;
9}) => void): true | void;
10export function offChange(eventHandler: (arg0: {
11 key: string;
12 newValue: string;
13 oldValue: string;
14}) => void): true | void;
15//# sourceMappingURL=storage.d.ts.map
\No newline at end of file