---
title: "Loader"
description: "Either kind of loader."
url: "https://pitlane.tools/package/content/type/Loader"
---

# Loader

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

```ts
type Loader =
  | ContentLoader
| LiveLoader<unknown>;
```

Either kind of loader.

A `LiveLoader`'s own `Data` parameter is for whoever writes it; a collection accepts any of them, because what a loader hands back is unvalidated until `parseData` has seen it.
