memorio 4.5.3 → 4.6.4

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/index.d.ts CHANGED
@@ -1,8 +1,18 @@
1
- /// <reference path="./types/memorio.d.ts" />
2
- /// <reference path="./types/observer.d.ts" />
3
- /// <reference path="./types/useObserver.d.ts" />
4
- /// <reference path="./types/state.d.ts" />
5
- /// <reference path="./types/session.d.ts" />
6
- /// <reference path="./types/store.d.ts" />
7
- /// <reference path="./types/cache.d.ts" />
8
- /// <reference path="./types/idb.d.ts" />
1
+ ///
2
+ // MEMORIO TYPE ENTRY POINT
3
+ // Re-exports the named module declarations from ./types/exports so that
4
+ // `import { state } from 'memorio'` (and default import) resolve correctly.
5
+ // The ambient global declarations (state, memorio, observer, ...) still live
6
+ // in ./types/*.d.ts and are loaded via the references below.
7
+
8
+ /// <reference path="./types/memorio.d.ts" />
9
+ /// <reference path="./types/observer.d.ts" />
10
+ /// <reference path="./types/useObserver.d.ts" />
11
+ /// <reference path="./types/state.d.ts" />
12
+ /// <reference path="./types/session.d.ts" />
13
+ /// <reference path="./types/store.d.ts" />
14
+ /// <reference path="./types/cache.d.ts" />
15
+ /// <reference path="./types/idb.d.ts" />
16
+
17
+ export * from './types/exports'
18
+ export { default } from './types/exports'