We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1e471f7 commit bbbe981Copy full SHA for bbbe981
packages/next/src/server/lib/router-utils/typegen.ts
@@ -871,7 +871,7 @@ export function generateValidatorFileStrict(
871
? `import type { ${nextTypes.join(', ')} } from "next/types.js"\n`
872
: ''
873
874
- return `// This file is generated automatically by Next.js
+ return `// This file is generated automatically by Next.js with experimental.strictRouteTypes
875
// Do not edit this file manually
876
// This file validates that all pages and layouts export the correct types
877
0 commit comments