Skip to content

Commit 4f46fab

Browse files
authored
Improve TS plugin options (#62438)
The `experimental-edge` config is no longer needed: ![CleanShot-2024-02-23-xxccX9gb@2x](https://github.com/vercel/next.js/assets/3676859/8a75143d-630e-4eae-a323-a78fd11e83ce) This PR: ![CleanShot-2024-02-23-EmCglptd@2x](https://github.com/vercel/next.js/assets/3676859/0cacd221-1c4a-4b30-afde-19eb9b4883de) Closes NEXT-2580
1 parent 87015ac commit 4f46fab

File tree

1 file changed

+1
-1
lines changed
  • packages/next/src/server/typescript/rules

1 file changed

+1
-1
lines changed

packages/next/src/server/typescript/rules/config.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -126,7 +126,7 @@ const API_DOCS: Record<
126126
options: {
127127
'"nodejs"': 'Prefer the Node.js runtime.',
128128
'"edge"': 'Prefer the Edge runtime.',
129-
'"experimental-edge"': 'Prefer the experimental Edge runtime.',
129+
'"experimental-edge"': `@deprecated\n\nThis option is no longer experimental. Use \`edge\` instead.`,
130130
},
131131
link: 'https://nextjs.org/docs/app/api-reference/file-conventions/route-segment-config#runtime',
132132
},

0 commit comments

Comments
 (0)