0👍
commit
shouldn’t be explicitly typed, the whole function should:
const SET_TEST: Action<MyStoreType, MyStateType> = ({commit}, val: string | number) => ...
- [Vuejs]-NuxtJS /Vue not firing scroll event
- [Vuejs]-Setup for env.development and env.production for vue3 project
Source:stackexchange.com