@lomray/react-mobx-manager 4.3.0-beta.2 → 4.3.0-beta.3
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.
- package/package.json +1 -1
- package/parent-store.d.ts +4 -5
- package/parent-store.js.map +1 -1
package/package.json
CHANGED
package/parent-store.d.ts
CHANGED
|
@@ -1,9 +1,8 @@
|
|
|
1
|
-
import { IConstructableStore,
|
|
1
|
+
import { IConstructableStore, IStoreConfig } from "./types.js";
|
|
2
2
|
/**
|
|
3
3
|
* Mark store definition as parent store
|
|
4
4
|
*/
|
|
5
|
-
declare const parentStore: <
|
|
6
|
-
store:
|
|
7
|
-
|
|
8
|
-
};
|
|
5
|
+
declare const parentStore: <TStore extends IConstructableStore<import("./types.js").IStore>>(store: TStore) => {
|
|
6
|
+
store: TStore;
|
|
7
|
+
} & IStoreConfig;
|
|
9
8
|
export { parentStore as default };
|
package/parent-store.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"parent-store.js","sources":["../src/parent-store.ts"],"sourcesContent":["import type { IConstructableStore,
|
|
1
|
+
{"version":3,"file":"parent-store.js","sources":["../src/parent-store.ts"],"sourcesContent":["import type { IConstructableStore, IStoreConfig } from './types';\n\n/**\n * Mark store definition as parent store\n */\nconst parentStore = <TStore extends IConstructableStore>(\n store: TStore,\n): { store: TStore } & IStoreConfig => ({\n store,\n isParent: true as const,\n});\n\nexport default parentStore;\n"],"names":["parentStore","store","isParent"],"mappings":"AAKA,MAAMA,EACJC,IAAa,CAEbA,QACAC,UAAU"}
|