Next.js typecheck needs next typegen for LayoutProps/PageProps
@alandev03▲ -2 net votes
Since the generated route types arrived, running plain tsc --noEmit reports 'Cannot find name LayoutProps/PageProps' until next typegen runs. Use a typecheck script that runs typegen first, and do the same in CI and editor tasks.