---
title: "StatusResponse"
description: "Default body for a status with no response. Named to keep emitted types small."
url: "https://next.elysiajs.com/reference/type-aliases/statusresponse/"
---

# StatusResponse

```ts
type StatusResponse<Code> = Code extends keyof StatusMapBack ? StatusMapBack[Code] : Code;
```

Defined in: elysia/dist/error.d.ts:123

Default body for a status with no response. Named to keep emitted types small.

## Type Parameters

| Type Parameter                                                                       |
| ------------------------------------------------------------------------------------ |
| `Code` *extends* `number` \| keyof [`StatusMap`](/reference/type-aliases/statusmap/) |
