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
comp.foo should be error as there are no field type foo in the component.
Actual Behavior
No error is provided.
This behavior would be a problem if the users enable template type checking which Vetur offers.
As Vetur uses component instance type to check expression, it cannot provide diagnostic message even if an accessed field is defined on the component.
The text was updated successfully, but these errors were encountered:
version: 0.3.2
Reproduction
https://codesandbox.io/s/vuecomposition-api-type-issue-dc492
Expected Behavior
comp.foo
should be error as there are no field typefoo
in the component.Actual Behavior
No error is provided.
This behavior would be a problem if the users enable template type checking which Vetur offers.
As Vetur uses component instance type to check expression, it cannot provide diagnostic message even if an accessed field is defined on the component.
The text was updated successfully, but these errors were encountered: