Singleton
Singleton<
T
>: () =>T
Type to annotate that something is a singleton. T is created once and lazily.
Type parameters
• T
Returns
T
Singleton<
T
>: () =>T
Type to annotate that something is a singleton. T is created once and lazily.
• T
T