()
| 18 | type GlobalGetterRefs = Record<GlobalGetterKey, ComputedRef<any>>; |
| 19 | |
| 20 | export const useGlobalStore = () => { |
| 21 | const globalStore = GlobalStore(); |
| 22 | const storeRefs = storeToRefs(globalStore) as ReturnType<typeof storeToRefs> & |
| 23 | ToRefs<GlobalState> & |
| 24 | GlobalGetterRefs; |
| 25 | |
| 26 | return { |
| 27 | globalStore, |
| 28 | ...storeRefs, |
| 29 | }; |
| 30 | }; |
no outgoing calls
no test coverage detected