Design patterns - Typescript

Singleton

Thanks to private constructors in Typescript, it is very simple to write a singleton.
Loading...