> ## Documentation Index
> Fetch the complete documentation index at: https://docs.tappify.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# TapSingletonDocument

> The document type collection C holds, read from the TapStorageMap augmentation.

```ts theme={null}
type TapSingletonDocument<C> = C extends keyof TapStorageMap ? TapStorageMap[C] extends {
  document: infer D;
} ? D : unknown : unknown;
```

The document type collection `C` holds, read from the `TapStorageMap`
augmentation.

## Type Parameters

### C

`C` *extends* [`TapSingletonName`](/extensions/reference/frontend-api/TypeAlias.TapSingletonName)
