@lomray/react-mobx-manager 2.1.1-beta.1 → 2.1.2-beta.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/lib/manager.d.ts +2 -2
  2. package/package.json +1 -1
package/lib/manager.d.ts CHANGED
@@ -1,5 +1,5 @@
1
1
  import StoreStatus from "./store-status.js";
2
- import { IConstructableStore, IManagerOptions, IManagerParams, IStorage, IStore, IStoreParams, TInitStore, TStoreDefinition, TStores } from "./types-01f82098.js";
2
+ import { IConstructableStore, IManagerOptions, IManagerParams, IStorage, IStore, IStoreParams, IStorePersisted, TInitStore, TStoreDefinition, TStores } from "./types-01f82098.js";
3
3
  /**
4
4
  * Mobx stores manager
5
5
  */
@@ -211,6 +211,6 @@ declare class Manager {
211
211
  /**
212
212
  * Persist store
213
213
  */
214
- static persistStore<TSt extends IStore>(store: IConstructableStore<TSt>, id: string): IConstructableStore<TSt>;
214
+ static persistStore<TSt extends IStore | IStorePersisted>(store: IConstructableStore<TSt>, id: string): IConstructableStore<TSt>;
215
215
  }
216
216
  export { Manager as default };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lomray/react-mobx-manager",
3
- "version": "2.1.1-beta.1",
3
+ "version": "2.1.2-beta.1",
4
4
  "description": "This package provides Mobx stores manager for react.",
5
5
  "main": "lib/index.js",
6
6
  "types": "lib/index.d.ts",