Different modifiers in class of TypeScript

Typlog