Hi. i'm using inheritance between two classes, the first (Lang) class declares a variable called _parse, of course, LangClient._parse doesn't exists. But I can't create it.
error TS2141: Class 'LangClient' cannot extend class 'Lang':
Types 'LangClient' and 'lang.Lang' define property '_config' as private.
But, just why? I declare a var private in the parent, I should be able to declare the same private in its childs.
Okay, so what? I have to declare all my functions and attributes as public in the parent class if I want to the childs to be able to use them, but they are no private anymore...
I think that we need a protected attribute, it's just impossible to make complex inheritance without the protected attribute...
I don't want to make everything public to be able to use inheritance, that's really bad to do that, and that's what I did since the start because I didn't find any better solution. (Any solution at all actually...)