You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This looks like duplicate of #7640 if you are using TypeScript 2.7.
If it's not the same issue, please provide a example github repo that reproduce it.
Version
2.5.16
Reproduction link
https://raw.githubusercontent.com/indus/stuff/master/vue_issue.jpg
(sorry - haven't found an online tool that shows type annotations)
Steps to reproduce
type the following in an TS enabled Editor like VS Code:
What is expected?
correct type inference (at least) for 'message'
What is actually happening?
getting Error: "Property 'message' doesn't exist"
This doesn't happen when the type of the prop is Object:
or 'data' is just a simple object and not a function
The text was updated successfully, but these errors were encountered: