1d8df75bfd
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)
10 lines
164 B
TypeScript
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
|
|
}
|