+9
-2
lines changedFilter options
+9
-2
lines changed Original file line number Diff line number Diff line change
@@ -1,11 +1,12 @@
1
1
import { Store, createStore } from './store'
2
-
import { useStore } from './injectKey'
2
+
import { storeKey, useStore } from './injectKey'
3
3
import { mapState, mapMutations, mapGetters, mapActions, createNamespacedHelpers } from './helpers'
4
4
import { createLogger } from './plugins/logger'
5
5
6
6
export default {
7
7
version: '__VERSION__',
8
8
Store,
9
+
storeKey,
9
10
createStore,
10
11
useStore,
11
12
mapState,
Original file line number Diff line number Diff line change
@@ -1,11 +1,12 @@
1
1
import { Store, createStore } from './store'
2
-
import { useStore } from './injectKey'
2
+
import { storeKey, useStore } from './injectKey'
3
3
import { mapState, mapMutations, mapGetters, mapActions, createNamespacedHelpers } from './helpers'
4
4
import { createLogger } from './plugins/logger'
5
5
6
6
export default {
7
7
version: '__VERSION__',
8
8
Store,
9
+
storeKey,
9
10
createStore,
10
11
useStore,
11
12
mapState,
@@ -18,6 +19,7 @@ export default {
18
19
19
20
export {
20
21
Store,
22
+
storeKey,
21
23
createStore,
22
24
useStore,
23
25
mapState,
Original file line number Diff line number Diff line change
@@ -3,6 +3,7 @@ import Vuex from '../dist/vuex.cjs.js'
3
3
const {
4
4
version,
5
5
Store,
6
+
storeKey,
6
7
createStore,
7
8
install,
8
9
useStore,
@@ -18,6 +19,7 @@ export {
18
19
Vuex as default,
19
20
version,
20
21
Store,
22
+
storeKey,
21
23
createStore,
22
24
install,
23
25
useStore,
Original file line number Diff line number Diff line change
@@ -43,6 +43,8 @@ export declare class Store<S> {
43
43
}): void;
44
44
}
45
45
46
+
export const storeKey: string;
47
+
46
48
export function createStore<S>(options: StoreOptions<S>): Store<S>;
47
49
48
50
export function useStore<S = any>(injectKey?: InjectionKey<Store<S>> | string): Store<S>;
You can’t perform that action at this time.
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4