How to make class fields or methods public and access from a class instance in TypeScript?
Originally Published Here ๐!
By default, all the class fields and methods have public visibility and can be accessed from the class instance. We can also explicitly add the public keyword before the field name or method for readability reasons.
TL;D...
melvingeorge-me.hashnode.dev3 min read