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 is because of how template diagnostics work. The component type and template diagnostics is separated under the hood. Unfortunately, I don't think we can solve this soon.
octref
changed the title
Wrong template accessible scope with 0.19.0
Error for protected members using vue-property-decorator not accessible in virtual template file
Apr 24, 2019
Info
Problem
Reproducible Case
Project created with vue-cli 3.6.3, TSLint, airbnb.
I've just set a data as
protected
, then vetur told me it's not accessible.I think they're the same object, this issue cause
protected
means I can't see myself.And all my class members will set to
public
, that's ridiculous.The text was updated successfully, but these errors were encountered: