AT-based link agregator. Mirror of https://github.com/likeandscribe/frontpage

Add copilot instructions for PageProps and RouteHandlerContext

tom.sherman.is 20ffde95 62f74172

verified
+4
+4
.github/copilot-instructions.md
··· 70 70 71 71 ## File listing (root, high level) 72 72 `CODE_OF_CONDUCT.md`, `CONTRIBUTING.md`, `README.md`, `SECURITY.md`, `LICENSE`, `.nvmrc`, `package.json`, `pnpm-lock.yaml`, `pnpm-workspace.yaml`, `turbo.json`, `Cargo.toml`, `lexicons/`, `packages/`, `packages-rs/`, `.github/workflows/`. 73 + 74 + ## Next.js conventions 75 + - Ensure that Next.js page props and `generateMetadata` functions are typed using the `PageProps` generic for better type safety and clarity. 76 + - Ensure that Next.js route handler functions receive context (the second argument) as generic type `RouteHandlerContext` for proper typing of request and params.