rsnext/examples/api-routes/interfaces/index.ts
Max Proske 1d8df75bfd
chore(examples): Convert api-routes example to TypeScript (#38083)
Converted API Routes example over to TypeScript to match the Contribution guidelines.

## Documentation / Examples

- [X] Make sure the linting passes by running `pnpm lint`
- [X] The examples guidelines are followed from [our contributing doc](https://github.com/vercel/next.js/blob/canary/contributing.md#adding-examples)
2022-07-11 10:40:52 +00:00

10 lines
164 B
TypeScript

export type Person = {
id: string
name: string
height: string
mass: string
hair_color: string
skin_color: string
eye_color: string
gender: string
}