The access modifiers supported by TypeScript are :
Protected : All child classes and members have access to them, but the instance does not.
Private : Only members have access
Public : Members, child classes, and instances of the class have access to the public modifier.