Allow to extend classes #468
Reference in New Issue
Block a user
Delete Branch "development"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Hi. We need to take an advantage of Object Oriented Programming brought to us by Typescript. It means (almost) all classes should be extensible, and to make classes extensible we need to avoid the
privateaccess modifiers, since child class can't not only overrwite them in themselves but also edit any method usingprivatefields or methods without copying them all. And as we all know - copying the code is something we really don't want to do :)That's why I've replaced all
privateaccessors byprotectedto allow extending of classes. It actually changes nothing in functionality, but doesn't force developers like us to maintain individual forks, so please merge it as soon as possible. Thanks in advance!Awesome thank you!