diff --git a/docs/01-app/03-api-reference/03-file-conventions/layout.mdx b/docs/01-app/03-api-reference/03-file-conventions/layout.mdx index de5eb99ff70358..dc0f2e3d7b385f 100644 --- a/docs/01-app/03-api-reference/03-file-conventions/layout.mdx +++ b/docs/01-app/03-api-reference/03-file-conventions/layout.mdx @@ -105,6 +105,7 @@ export default function Layout(props: LayoutProps<'/dashboard'>) { > **Good to know**: > > - Types are generated during `next dev`, `next build` or `next typegen`. +> - After type generation, the `LayoutProps` helper is globally available. It doesn't need to be imported. ### Root Layout diff --git a/docs/01-app/03-api-reference/03-file-conventions/page.mdx b/docs/01-app/03-api-reference/03-file-conventions/page.mdx index ca85857d3f42c3..723dcb59894e37 100644 --- a/docs/01-app/03-api-reference/03-file-conventions/page.mdx +++ b/docs/01-app/03-api-reference/03-file-conventions/page.mdx @@ -135,6 +135,7 @@ export default async function Page(props: PageProps<'/blog/[slug]'>) { > - Using a literal route (e.g. `'/blog/[slug]'`) enables autocomplete and strict keys for `params`. > - Static routes resolve `params` to `{}`. > - Types are generated during `next dev`, `next build`, or with `next typegen`. +> - After type generation, the `PageProps` helper is globally available. It doesn't need to be imported. ## Examples diff --git a/docs/01-app/03-api-reference/03-file-conventions/route.mdx b/docs/01-app/03-api-reference/03-file-conventions/route.mdx index 82f010d64bce1c..2f99e25ea85b38 100644 --- a/docs/01-app/03-api-reference/03-file-conventions/route.mdx +++ b/docs/01-app/03-api-reference/03-file-conventions/route.mdx @@ -118,6 +118,7 @@ export async function GET(_req: NextRequest, ctx: RouteContext<'/users/[id]'>) { > **Good to know** > > - Types are generated during `next dev`, `next build` or `next typegen`. +> - After type generation, the `RouteContext` helper is globally available. It doesn't need to be imported. ## Examples