Client - extend store typing in components

This commit is contained in:
Sam
2021-08-11 22:12:02 +02:00
parent a20a646687
commit 72db7afe44
10 changed files with 93 additions and 15 deletions

View File

@ -0,0 +1,7 @@
import { useStore as VuexStore } from 'vuex'
import { Store } from '@/store/types'
export function useStore(): Store {
return VuexStore() as Store
}