Any overlooked type errors in the current project
The internet is full of reasons to move to typescript.
Moving all *.js files to *.ts
And adding a tsconfig.json file to build the js files
Check v4 branch.
@pikax A quick look at the src directory in branch shows .js files
https://github.com/vuejs/vuex/tree/4.0/src
My mistake.
Renaming the files to .ts is not a good solution.
@pikax how so?
We're planning to do it in Vuex 5! Currently, just changing Vuex 4's .js to .ts file will not improve any typings so I believe it's not worth it. Vuex 5 will still take some more time but stay tuned 馃憤
Most helpful comment
We're planning to do it in Vuex 5! Currently, just changing Vuex 4's
.jsto.tsfile will not improve any typings so I believe it's not worth it. Vuex 5 will still take some more time but stay tuned 馃憤