Closed
Description
Version
3.0.1
Reproduction link
Steps to reproduce
- Create new Vue component.
- In jsconfig.json (tsconfig.json) enable strict mode and js checking
- Add
mapState
ormapActions
to the component
What is expected?
Type checking should work.
Intellisense should suggest actions mapped using mapActions
and suggest data mapped using mapState
What is actually happening?
Type checking stops working.
Intellisense is not suggesting mapped actions and state.
This is due to mapState
and mapActions
returning Dictionary<any>
I created pull request that fixes this for me: #1105