-
-
Notifications
You must be signed in to change notification settings - 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
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
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