I am converting a JavaScript project to TypeScript. However I am getting a type error when trying to make Vue use Vuex.
import Vue from "vue";
import Vuex from "vuex";
Vue.use(Vuex);
It looks like the problem is that vuex does not provide type definitions like vuejs does?
Because I also have to set
"allowSyntheticDefaultImports": true
in my tsconfig.json.
How can I solve this problem and make Vue.use accept Vuex as the correct type?
