chore(examples): Convert `api-routes-middleware` example to TypeScript (#38358)
Convert `api-routes-middleware` example to TypeScript to match Contribution docs. - Updated cookie util to match the [extending `res` with TypeScript Next.js docs](https://nextjs.org/docs/api-routes/api-middlewares#connectexpress-middleware-support) ## 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) )
Showing
File moved
Please
register
or
sign in
to comment