npx create-next-app@latest --experimental-appnpm install next@canary(currently is13.0.3-canary.1)npm run build(this finishes successfully)- Add a
/app/blog/[slug]/page.tsxfile as defined in the docs. npm run build(this fails)
Type error: Page "app/blog/[slug]/page.tsx" does not match the required types of a Next.js Page.
Invalid configuration:
The exported page component isn't correctly typed.
Expected "{ params: { slug: string; }; searchParams: { id: string; }; }", got "PageProps".