I found a way to use Vuex stores in TypeScript without losing typing. It doesn’t require classes, so it is compatible with Vue 3 and the composition API. With lightweight wrappers that are fully typedAt runtime, the library direct-vuex will create a wrapper around each getters, mutations and actions. We can use them from outside the store implementation. So instead of writing: store.dispatch("myAc