Static Methods Can Access Private Class Constructors In TypeScript

preview_player
Показать описание
Ben Nadel looks at the access rights of Static methods in TypeScript; and, demonstrates that static factory methods can access private constructors on the same class definition.

Рекомендации по теме