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