Can you help me troubleshoot an issue? When I call a getter inside a computed property, it is giving me the following error message:
TS2339: Property 'dictionary' does not exist on type 'CreateComponentPublicInstance{}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, {}, {}, false, {}, OptionTypesType{}, {}, {}, {}, {}, {}>, ... 5 more ..., {}>'.
Here is the code snippet:
computed: {
shuffledDictionary () {
return _.shuffle(this.dictionary)
},
...mapGetters({
dictionary: 'learning/dictionary'
})
},
The versions used are:
"vue": "^3.2.13", "vuex": "^4.1.0",