Skip to main content
Version: 1.x

@microsoft/fast-foundation > singleton

singleton() function

Signature:
export declare function singleton<T extends Constructable>(options?: SingletonOptions): typeof singletonDecorator;

Parameters

ParameterTypeDescription
optionsSingletonOptions
Returns:

typeof singletonDecorator