Skip to main content

@microsoft/fast-foundation > singleton

singleton() function

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

Parameters

ParameterTypeDescription
optionsSingletonOptions
Returns:

typeof singletonDecorator