---
id: fast-foundation.singleton_1
title: singleton() function
hide_title: true
---
<!-- Do not edit this file. It is automatically generated by API Documenter. -->

[@microsoft/fast-foundation](./fast-foundation.md) &gt; [singleton](./fast-foundation.singleton_1.md)

## singleton() function


<b>Signature:</b>

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

## Parameters

|  Parameter | Type | Description |
|  --- | --- | --- |
|  options | SingletonOptions |  |

<b>Returns:</b>

typeof singletonDecorator
