Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

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

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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in 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