---
title: "setupTypebox"
description: "Elysia API reference for setupTypebox."
url: "https://next.elysiajs.com/reference/functions/setuptypebox/"
---

# setupTypebox

```ts
function setupTypebox(options?): void;
```

Defined in: elysia/dist/type/compat.d.ts:6

## Parameters

| Parameter              | Type                                                                                                      |
| ---------------------- | --------------------------------------------------------------------------------------------------------- |
| `options?`             | { `exactMirror?`: `CreateMirror`; `typebox?`: `Partial`<`TypeboxNamespaces` & `TypeboxTypeNamespaces`>; } |
| `options.exactMirror?` | `CreateMirror`                                                                                            |
| `options.typebox?`     | `Partial`<`TypeboxNamespaces` & `TypeboxTypeNamespaces`>                                                  |

## Returns

`void`
