# JsonObject from type-fest

[type-fest](https://www.npmjs.com/package/type-fest/v/1.0.0) is an awesome package that defines nice TypeScript types and utilities. One of the most useful class in type-fest is JsonObject. Define a response object with the body property of type JsonObject.

```typescript
import { JsonObject } from 'type-fest'

export type MyResponse = {
  id: string
  statusCode?: number
  body?: JsonObject
  error?: string
}
```
