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 | |
|---|---|---|---|
| 3.06 kB | |||
| 1.09 kB | |||
| 881 B | |||
| 1.79 kB | |||
| 217 B |