diff --git a/packages/next/lib/typescript/writeAppTypeDeclarations.ts b/packages/next/lib/typescript/writeAppTypeDeclarations.ts index 9bc1a039dd56b..10994fcff3d8d 100644 --- a/packages/next/lib/typescript/writeAppTypeDeclarations.ts +++ b/packages/next/lib/typescript/writeAppTypeDeclarations.ts @@ -17,6 +17,10 @@ export async function writeAppTypeDeclarations( os.EOL + (imageImportsEnabled ? '/// ' + os.EOL - : '') + : '') + + os.EOL + + '// NOTE: This file should not be edited' + + os.EOL + + '// see https://nextjs.org/docs/basic-features/typescript for more information.' ) }