Classes with protected attributes throws ts-2322 #11393
Replies: 1 comment 2 replies
-
Could you provide a repro? |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hello, this is a copy of my topic in vuejs/language-tools.
Original post:
Hey guys, I have a problem with classes. I'm not sure this is a bug so I'm creating it here first:
Lets consider two classes:
Thats ok, right? I can access everything in
Base
throughAgent
, so I can do:Now I'm trying to do:
What am I doing wrong? This should be supported.
Beta Was this translation helpful? Give feedback.
All reactions