How to make a static method accessible only in its class and subclasses in TypeScript?
Originally Published Here ๐!
To make a static method accessible only in its class and subclasses, you need to make the static method into a protected static method using the protected keyword before the static method in TypeScript.
TL;DR
// a simple...
melvingeorge-me.hashnode.dev2 min read