// This file is generated automatically by Next.js // Do not edit this file manually // This file validates that all pages and layouts export the correct types import type { AppRoutes, LayoutRoutes, ParamMap } from "./routes.js" import type { ResolvingMetadata, ResolvingViewport } from "next/types.js" type AppPageConfig = { default: React.ComponentType<{ params: Promise } & any> | ((props: { params: Promise } & any) => React.ReactNode | Promise | never | void | Promise) generateStaticParams?: (props: { params: ParamMap[Route] }) => Promise | any[] generateMetadata?: ( props: { params: Promise } & any, parent: ResolvingMetadata ) => Promise | any generateViewport?: ( props: { params: Promise } & any, parent: ResolvingViewport ) => Promise | any metadata?: any viewport?: any } type LayoutConfig = { default: React.ComponentType> | ((props: LayoutProps) => React.ReactNode | Promise | never | void | Promise) generateStaticParams?: (props: { params: ParamMap[Route] }) => Promise | any[] generateMetadata?: ( props: { params: Promise } & any, parent: ResolvingMetadata ) => Promise | any generateViewport?: ( props: { params: Promise } & any, parent: ResolvingViewport ) => Promise | any metadata?: any viewport?: any } // Validate ../../src/app/page.tsx { type __IsExpected> = Specific const handler = {} as typeof import("../../src/app/page.js") type __Check = __IsExpected // @ts-ignore type __Unused = __Check } // Validate ../../src/app/layout.tsx { type __IsExpected> = Specific const handler = {} as typeof import("../../src/app/layout.js") type __Check = __IsExpected // @ts-ignore type __Unused = __Check }