---
title: "Reference"
description: "A resolved pointer from one entry to another, produced by `c.reference(collection)`."
url: "https://pitlane.tools/package/content/interface/Reference"
---

# Reference

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

A resolved pointer from one entry to another, produced by `c.reference(collection)`.

The `collection` type parameter is what stops a `Reference<"blog">` reaching `content.authors.getEntry`.

## Type Parameters

### C

`C` _extends_ `string`

## Properties

### collection

```ts
collection: C;
```

---

### id

```ts
id: string;
```
