-
-
Couldn't load subscription status.
- Fork 9.6k
Closed
Labels
enhancementNew feature or requestNew feature or requesttypesRelated to typings onlyRelated to typings only
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
mapStateormapActionsto 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
alexeden, evenfrost, rickyruiz, Kocal, prashantkhurana and 3 more
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or requesttypesRelated to typings onlyRelated to typings only