I've having same issue. Thrumbo's answer solved it but I had to remove the array[] operator on string.
type Params = Promise<{ slug: string }> export default async function Page({ params }: { params: Params }) { const { slug } = await params }