UNPKG

mobx-persist-store

Version:
6 lines (5 loc) 233 B
import { PersistStoreMap } from './PersistStoreMap'; export const clearPersistedStore = async (target) => { var _a; await ((_a = PersistStoreMap.get(target)) === null || _a === void 0 ? void 0 : _a.clearPersistedStore()); };