Skip to content

fix(types): avoid broadening vue instance type when using map helpers #1639

New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Merged
merged 2 commits into from
Nov 10, 2019

Conversation

ktsn
Copy link
Member

@ktsn ktsn commented Nov 10, 2019

fix #1119

@DanielRuf
Copy link

I still get the issue with missing properties even if they are declared. Seems it does not use this from the component instance.

vaga pushed a commit to vaga/vuex that referenced this pull request Apr 20, 2020
…vuejs#1639)

* fix(types): avoid broading vue instance type when using map helpers

* refactor: add type restriction to helper types
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Type checking is broken in Vue components when using mapping helpers
2 participants