di-singleton
Version:
Wraps a class constructor to ensure only one instance is created, using lazy initialization and optionally calling an init method if present, while maintaining type safety via TypeScript generics.
| Filename | Content Type | Size | |
|---|---|---|---|
| ../ | |||
| 1.54 kB | |||
| 1.52 kB | |||