---
title: "Content"
description: "The object `createContent` returns: one [Collection](https://pitlane.tools/package/content/interface/Collection.md) per key of the definitions its callback returned, named after that key and typed by the output of that collection's schema."
url: "https://pitlane.tools/package/content/type/Content"
---

# Content

```ts
import type { Content } from "@pitlane/content";
```

```ts
type Content<T> = { [K in keyof T]: Collection<K & string, InferSchema<T[K]["schema"]>> };
```

The object `createContent` returns: one [Collection](https://pitlane.tools/package/content/interface/Collection.md) per key of the definitions its callback returned, named after that key and typed by the output of that collection's schema.

## Type Parameters

### T

`T` _extends_ `Record`\<`string`, [`CollectionDefinition`](https://pitlane.tools/package/content/interface/CollectionDefinition.md)>
