From c06347eaa00708e7adc5046b74ae3b57547ec6bc Mon Sep 17 00:00:00 2001
From: Matvey Ryabchikov <35634442+ronanru@users.noreply.github.com>
Date: Mon, 5 Aug 2024 17:18:50 +0300
Subject: [PATCH 01/10] fix(create-next-app): link to app dir docs in
next-env.d.ts in app dir templates
---
packages/create-next-app/templates/app-empty/ts/next-env.d.ts | 2 +-
.../create-next-app/templates/app-tw-empty/ts/next-env.d.ts | 2 +-
packages/create-next-app/templates/app-tw/ts/next-env.d.ts | 2 +-
packages/create-next-app/templates/app/ts/next-env.d.ts | 2 +-
4 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/packages/create-next-app/templates/app-empty/ts/next-env.d.ts b/packages/create-next-app/templates/app-empty/ts/next-env.d.ts
index 4f11a03dc6cc3..40c3d68096c27 100644
--- a/packages/create-next-app/templates/app-empty/ts/next-env.d.ts
+++ b/packages/create-next-app/templates/app-empty/ts/next-env.d.ts
@@ -2,4 +2,4 @@
///
// NOTE: This file should not be edited
-// see https://nextjs.org/docs/basic-features/typescript for more information.
+// see https://nextjs.org/docs/app/building-your-application/configuring/typescript for more information.
diff --git a/packages/create-next-app/templates/app-tw-empty/ts/next-env.d.ts b/packages/create-next-app/templates/app-tw-empty/ts/next-env.d.ts
index 4f11a03dc6cc3..40c3d68096c27 100644
--- a/packages/create-next-app/templates/app-tw-empty/ts/next-env.d.ts
+++ b/packages/create-next-app/templates/app-tw-empty/ts/next-env.d.ts
@@ -2,4 +2,4 @@
///
// NOTE: This file should not be edited
-// see https://nextjs.org/docs/basic-features/typescript for more information.
+// see https://nextjs.org/docs/app/building-your-application/configuring/typescript for more information.
diff --git a/packages/create-next-app/templates/app-tw/ts/next-env.d.ts b/packages/create-next-app/templates/app-tw/ts/next-env.d.ts
index 4f11a03dc6cc3..40c3d68096c27 100644
--- a/packages/create-next-app/templates/app-tw/ts/next-env.d.ts
+++ b/packages/create-next-app/templates/app-tw/ts/next-env.d.ts
@@ -2,4 +2,4 @@
///
// NOTE: This file should not be edited
-// see https://nextjs.org/docs/basic-features/typescript for more information.
+// see https://nextjs.org/docs/app/building-your-application/configuring/typescript for more information.
diff --git a/packages/create-next-app/templates/app/ts/next-env.d.ts b/packages/create-next-app/templates/app/ts/next-env.d.ts
index 4f11a03dc6cc3..40c3d68096c27 100644
--- a/packages/create-next-app/templates/app/ts/next-env.d.ts
+++ b/packages/create-next-app/templates/app/ts/next-env.d.ts
@@ -2,4 +2,4 @@
///
// NOTE: This file should not be edited
-// see https://nextjs.org/docs/basic-features/typescript for more information.
+// see https://nextjs.org/docs/app/building-your-application/configuring/typescript for more information.
From 3892350e1c00887e3a1469b556c5837a31a42dbc Mon Sep 17 00:00:00 2001
From: Matvey Ryabchikov <35634442+ronanru@users.noreply.github.com>
Date: Fri, 9 Aug 2024 02:18:54 +0300
Subject: [PATCH 02/10] modify wroteAppTypeDeclarations
---
.../templates/default-empty/ts/next-env.d.ts | 2 +-
.../templates/default-tw-empty/ts/next-env.d.ts | 2 +-
.../create-next-app/templates/default-tw/ts/next-env.d.ts | 2 +-
packages/create-next-app/templates/default/ts/next-env.d.ts | 2 +-
.../next/src/lib/typescript/writeAppTypeDeclarations.ts | 2 +-
test/unit/write-app-declarations.test.ts | 6 +++---
6 files changed, 8 insertions(+), 8 deletions(-)
diff --git a/packages/create-next-app/templates/default-empty/ts/next-env.d.ts b/packages/create-next-app/templates/default-empty/ts/next-env.d.ts
index 4f11a03dc6cc3..a4a7b3f5cfa2f 100644
--- a/packages/create-next-app/templates/default-empty/ts/next-env.d.ts
+++ b/packages/create-next-app/templates/default-empty/ts/next-env.d.ts
@@ -2,4 +2,4 @@
///
// NOTE: This file should not be edited
-// see https://nextjs.org/docs/basic-features/typescript for more information.
+// see https://nextjs.org/docs/pages/building-your-application/configuring/typescript for more information.
diff --git a/packages/create-next-app/templates/default-tw-empty/ts/next-env.d.ts b/packages/create-next-app/templates/default-tw-empty/ts/next-env.d.ts
index 4f11a03dc6cc3..a4a7b3f5cfa2f 100644
--- a/packages/create-next-app/templates/default-tw-empty/ts/next-env.d.ts
+++ b/packages/create-next-app/templates/default-tw-empty/ts/next-env.d.ts
@@ -2,4 +2,4 @@
///
// NOTE: This file should not be edited
-// see https://nextjs.org/docs/basic-features/typescript for more information.
+// see https://nextjs.org/docs/pages/building-your-application/configuring/typescript for more information.
diff --git a/packages/create-next-app/templates/default-tw/ts/next-env.d.ts b/packages/create-next-app/templates/default-tw/ts/next-env.d.ts
index 4f11a03dc6cc3..a4a7b3f5cfa2f 100644
--- a/packages/create-next-app/templates/default-tw/ts/next-env.d.ts
+++ b/packages/create-next-app/templates/default-tw/ts/next-env.d.ts
@@ -2,4 +2,4 @@
///
// NOTE: This file should not be edited
-// see https://nextjs.org/docs/basic-features/typescript for more information.
+// see https://nextjs.org/docs/pages/building-your-application/configuring/typescript for more information.
diff --git a/packages/create-next-app/templates/default/ts/next-env.d.ts b/packages/create-next-app/templates/default/ts/next-env.d.ts
index 4f11a03dc6cc3..a4a7b3f5cfa2f 100644
--- a/packages/create-next-app/templates/default/ts/next-env.d.ts
+++ b/packages/create-next-app/templates/default/ts/next-env.d.ts
@@ -2,4 +2,4 @@
///
// NOTE: This file should not be edited
-// see https://nextjs.org/docs/basic-features/typescript for more information.
+// see https://nextjs.org/docs/pages/building-your-application/configuring/typescript for more information.
diff --git a/packages/next/src/lib/typescript/writeAppTypeDeclarations.ts b/packages/next/src/lib/typescript/writeAppTypeDeclarations.ts
index 5af5c97736f8d..17ce98937eb15 100644
--- a/packages/next/src/lib/typescript/writeAppTypeDeclarations.ts
+++ b/packages/next/src/lib/typescript/writeAppTypeDeclarations.ts
@@ -59,7 +59,7 @@ export async function writeAppTypeDeclarations({
directives.push(
'',
'// NOTE: This file should not be edited',
- '// see https://nextjs.org/docs/basic-features/typescript for more information.'
+ `// see https://nextjs.org/docs/${hasAppDir ? 'app' : 'pages'}/building-your-application/configuring/typescript for more information.`
)
const content = directives.join(eol) + eol
diff --git a/test/unit/write-app-declarations.test.ts b/test/unit/write-app-declarations.test.ts
index a87e55fea7a0f..01461a2a51ec0 100644
--- a/test/unit/write-app-declarations.test.ts
+++ b/test/unit/write-app-declarations.test.ts
@@ -25,7 +25,7 @@ describe('find config', () => {
eol +
'// NOTE: This file should not be edited' +
eol +
- '// see https://nextjs.org/docs/basic-features/typescript for more information.' +
+ '// see https://nextjs.org/docs/pages/building-your-application/configuring/typescript for more information.' +
eol
await fs.writeFile(declarationFile, content)
@@ -50,7 +50,7 @@ describe('find config', () => {
eol +
'// NOTE: This file should not be edited' +
eol +
- '// see https://nextjs.org/docs/basic-features/typescript for more information.' +
+ '// see https://nextjs.org/docs/pages/building-your-application/configuring/typescript for more information.' +
eol
await fs.writeFile(declarationFile, content)
@@ -75,7 +75,7 @@ describe('find config', () => {
eol +
'// NOTE: This file should not be edited' +
eol +
- '// see https://nextjs.org/docs/basic-features/typescript for more information.' +
+ '// see https://nextjs.org/docs/pages/building-your-application/configuring/typescript for more information.' +
eol
await writeAppTypeDeclarations({
From e64a4f125b0765f378b3ee9b7bc53c15019523ed Mon Sep 17 00:00:00 2001
From: Matvey Ryabchikov <35634442+ronanru@users.noreply.github.com>
Date: Fri, 9 Aug 2024 12:18:51 +0300
Subject: [PATCH 03/10] update link in next-env.d.ts in all examples
---
examples/active-class-name/next-env.d.ts | 2 +-
examples/amp/next-env.d.ts | 2 +-
examples/analyze-bundles/next-env.d.ts | 2 +-
examples/api-routes-apollo-server-and-client-auth/next-env.d.ts | 2 +-
examples/api-routes-apollo-server-and-client/next-env.d.ts | 2 +-
examples/api-routes-apollo-server/next-env.d.ts | 2 +-
examples/api-routes-cors/next-env.d.ts | 2 +-
examples/api-routes-graphql/next-env.d.ts | 2 +-
examples/api-routes-middleware/next-env.d.ts | 2 +-
examples/api-routes-rate-limit/next-env.d.ts | 2 +-
examples/api-routes-rest/next-env.d.ts | 2 +-
examples/api-routes/next-env.d.ts | 2 +-
examples/app-dir-i18n-routing/next-env.d.ts | 2 +-
examples/app-dir-mdx/next-env.d.ts | 2 +-
examples/auth0/next-env.d.ts | 2 +-
examples/basic-css/next-env.d.ts | 2 +-
examples/basic-export/next-env.d.ts | 2 +-
examples/blog-starter/next-env.d.ts | 2 +-
examples/blog-with-comment/next-env.d.ts | 2 +-
examples/blog/next-env.d.ts | 2 +-
examples/catch-all-routes/next-env.d.ts | 2 +-
examples/cloudflare-turnstile/next-env.d.ts | 2 +-
examples/cms-agilitycms/next-env.d.ts | 2 +-
examples/cms-cosmic/next-env.d.ts | 2 +-
examples/cms-dotcms/next-env.d.ts | 2 +-
examples/cms-enterspeed/next-env.d.ts | 2 +-
examples/cms-kontent-ai/next-env.d.ts | 2 +-
examples/cms-makeswift/next-env.d.ts | 2 +-
examples/cms-payload/next-env.d.ts | 2 +-
examples/cms-plasmic/next-env.d.ts | 2 +-
examples/cms-prismic/next-env.d.ts | 2 +-
examples/cms-sitecore-xmcloud/next-env.d.ts | 2 +-
examples/cms-sitefinity/next-env.d.ts | 2 +-
examples/cms-webiny/next-env.d.ts | 2 +-
examples/cms-wordpress/next-env.d.ts | 2 +-
examples/convex/next-env.d.ts | 2 +-
examples/custom-routes-proxying/next-env.d.ts | 2 +-
examples/custom-server/next-env.d.ts | 2 +-
examples/dynamic-routing/next-env.d.ts | 2 +-
examples/environment-variables/next-env.d.ts | 2 +-
examples/github-pages/next-env.d.ts | 2 +-
examples/head-elements/next-env.d.ts | 2 +-
examples/headers/next-env.d.ts | 2 +-
examples/i18n-routing/next-env.d.ts | 2 +-
examples/image-component/next-env.d.ts | 2 +-
examples/image-legacy-component/next-env.d.ts | 2 +-
examples/layout-component/next-env.d.ts | 2 +-
examples/markdoc/next-env.d.ts | 2 +-
examples/middleware-matcher/next-env.d.ts | 2 +-
examples/middleware/next-env.d.ts | 2 +-
examples/modularize-imports/next-env.d.ts | 2 +-
examples/nested-components/next-env.d.ts | 2 +-
examples/next-css/next-env.d.ts | 2 +-
examples/next-forms/next-env.d.ts | 2 +-
examples/next-offline/next-env.d.ts | 2 +-
examples/progressive-web-app/next-env.d.ts | 2 +-
examples/radix-ui/next-env.d.ts | 2 +-
examples/react-remove-properties/next-env.d.ts | 2 +-
examples/redirects/next-env.d.ts | 2 +-
examples/remove-console/next-env.d.ts | 2 +-
examples/reproduction-template/next-env.d.ts | 2 +-
examples/rewrites/next-env.d.ts | 2 +-
examples/script-component/next-env.d.ts | 2 +-
examples/ssr-caching/next-env.d.ts | 2 +-
examples/svg-components/next-env.d.ts | 2 +-
examples/with-ably/next-env.d.ts | 2 +-
examples/with-absolute-imports/next-env.d.ts | 2 +-
examples/with-algolia-react-instantsearch/next-env.d.ts | 2 +-
examples/with-ant-design/next-env.d.ts | 2 +-
examples/with-apivideo/next-env.d.ts | 2 +-
examples/with-axiom/next-env.d.ts | 2 +-
examples/with-chakra-ui/next-env.d.ts | 2 +-
examples/with-cloudinary/next-env.d.ts | 2 +-
examples/with-context-api/next-env.d.ts | 2 +-
examples/with-cookies-next/next-env.d.ts | 2 +-
examples/with-cssed/next-env.d.ts | 2 +-
examples/with-cxs/next-env.d.ts | 2 +-
examples/with-cypress/next-env.d.ts | 2 +-
examples/with-dynamic-import/next-env.d.ts | 2 +-
examples/with-edgedb/next-env.d.ts | 2 +-
examples/with-expo-typescript/next-env.d.ts | 2 +-
examples/with-fingerprintjs-pro/next-env.d.ts | 2 +-
examples/with-goober/next-env.d.ts | 2 +-
examples/with-grafbase/next-env.d.ts | 2 +-
examples/with-graphql-gateway/next-env.d.ts | 2 +-
examples/with-gsap/next-env.d.ts | 2 +-
examples/with-ionic-typescript/next-env.d.ts | 2 +-
examples/with-jest-babel/next-env.d.ts | 2 +-
examples/with-jest/next-env.d.ts | 2 +-
examples/with-jotai/next-env.d.ts | 2 +-
examples/with-linaria/next-env.d.ts | 2 +-
examples/with-mantine/next-env.d.ts | 2 +-
examples/with-mobx-state-tree/next-env.d.ts | 2 +-
examples/with-mongodb-mongoose/next-env.d.ts | 2 +-
examples/with-mongodb/next-env.d.ts | 2 +-
examples/with-mqtt-js/next-env.d.ts | 2 +-
examples/with-msw/next-env.d.ts | 2 +-
examples/with-mux-video/next-env.d.ts | 2 +-
examples/with-next-sitemap/next-env.d.ts | 2 +-
examples/with-next-ui/next-env.d.ts | 2 +-
examples/with-opentelemetry/next-env.d.ts | 2 +-
examples/with-particles/next-env.d.ts | 2 +-
examples/with-paste-typescript/next-env.d.ts | 2 +-
examples/with-postgres/next-env.d.ts | 2 +-
examples/with-prefetching/next-env.d.ts | 2 +-
examples/with-react-foundation/next-env.d.ts | 2 +-
examples/with-react-hook-form/next-env.d.ts | 2 +-
examples/with-react-intl/next-env.d.ts | 2 +-
examples/with-react-jss/next-env.d.ts | 2 +-
examples/with-react-md-typescript/next-env.d.ts | 2 +-
examples/with-react-multi-carousel/next-env.d.ts | 2 +-
examples/with-redis/next-env.d.ts | 2 +-
examples/with-redux/next-env.d.ts | 2 +-
examples/with-reflexjs/next-env.d.ts | 2 +-
examples/with-sentry/next-env.d.ts | 2 +-
examples/with-service-worker/next-env.d.ts | 2 +-
examples/with-sfcc/next-env.d.ts | 2 +-
examples/with-slate/next-env.d.ts | 2 +-
examples/with-static-export/next-env.d.ts | 2 +-
examples/with-stitches/next-env.d.ts | 2 +-
examples/with-storybook-styled-jsx-scss/next-env.d.ts | 2 +-
examples/with-stripe-typescript/next-env.d.ts | 2 +-
examples/with-styled-components-babel/next-env.d.ts | 2 +-
examples/with-styled-components-rtl/next-env.d.ts | 2 +-
examples/with-styled-components/next-env.d.ts | 2 +-
examples/with-styled-jsx-plugins/next-env.d.ts | 2 +-
examples/with-styled-jsx-scss/next-env.d.ts | 2 +-
examples/with-styled-jsx/next-env.d.ts | 2 +-
examples/with-temporal/next-env.d.ts | 2 +-
examples/with-tigris/next-env.d.ts | 2 +-
examples/with-turbopack/next-env.d.ts | 2 +-
examples/with-typescript-graphql/next-env.d.ts | 2 +-
examples/with-typescript-types/next-env.d.ts | 2 +-
examples/with-typescript/next-env.d.ts | 2 +-
examples/with-unsplash/next-env.d.ts | 2 +-
examples/with-vanilla-extract/next-env.d.ts | 2 +-
examples/with-vercel-fetch/next-env.d.ts | 2 +-
examples/with-videojs/next-env.d.ts | 2 +-
examples/with-vitest/next-env.d.ts | 2 +-
examples/with-web-worker/next-env.d.ts | 2 +-
examples/with-webassembly/next-env.d.ts | 2 +-
examples/with-windicss/next-env.d.ts | 2 +-
examples/with-xata/next-env.d.ts | 2 +-
examples/with-xstate/next-env.d.ts | 2 +-
examples/with-yoga/next-env.d.ts | 2 +-
examples/with-zustand/next-env.d.ts | 2 +-
146 files changed, 146 insertions(+), 146 deletions(-)
diff --git a/examples/active-class-name/next-env.d.ts b/examples/active-class-name/next-env.d.ts
index 4f11a03dc6cc3..40c3d68096c27 100644
--- a/examples/active-class-name/next-env.d.ts
+++ b/examples/active-class-name/next-env.d.ts
@@ -2,4 +2,4 @@
///
// NOTE: This file should not be edited
-// see https://nextjs.org/docs/basic-features/typescript for more information.
+// see https://nextjs.org/docs/app/building-your-application/configuring/typescript for more information.
diff --git a/examples/amp/next-env.d.ts b/examples/amp/next-env.d.ts
index 4f11a03dc6cc3..a4a7b3f5cfa2f 100644
--- a/examples/amp/next-env.d.ts
+++ b/examples/amp/next-env.d.ts
@@ -2,4 +2,4 @@
///
// NOTE: This file should not be edited
-// see https://nextjs.org/docs/basic-features/typescript for more information.
+// see https://nextjs.org/docs/pages/building-your-application/configuring/typescript for more information.
diff --git a/examples/analyze-bundles/next-env.d.ts b/examples/analyze-bundles/next-env.d.ts
index 4f11a03dc6cc3..40c3d68096c27 100644
--- a/examples/analyze-bundles/next-env.d.ts
+++ b/examples/analyze-bundles/next-env.d.ts
@@ -2,4 +2,4 @@
///
// NOTE: This file should not be edited
-// see https://nextjs.org/docs/basic-features/typescript for more information.
+// see https://nextjs.org/docs/app/building-your-application/configuring/typescript for more information.
diff --git a/examples/api-routes-apollo-server-and-client-auth/next-env.d.ts b/examples/api-routes-apollo-server-and-client-auth/next-env.d.ts
index 4f11a03dc6cc3..a4a7b3f5cfa2f 100644
--- a/examples/api-routes-apollo-server-and-client-auth/next-env.d.ts
+++ b/examples/api-routes-apollo-server-and-client-auth/next-env.d.ts
@@ -2,4 +2,4 @@
///
// NOTE: This file should not be edited
-// see https://nextjs.org/docs/basic-features/typescript for more information.
+// see https://nextjs.org/docs/pages/building-your-application/configuring/typescript for more information.
diff --git a/examples/api-routes-apollo-server-and-client/next-env.d.ts b/examples/api-routes-apollo-server-and-client/next-env.d.ts
index 4f11a03dc6cc3..a4a7b3f5cfa2f 100644
--- a/examples/api-routes-apollo-server-and-client/next-env.d.ts
+++ b/examples/api-routes-apollo-server-and-client/next-env.d.ts
@@ -2,4 +2,4 @@
///
// NOTE: This file should not be edited
-// see https://nextjs.org/docs/basic-features/typescript for more information.
+// see https://nextjs.org/docs/pages/building-your-application/configuring/typescript for more information.
diff --git a/examples/api-routes-apollo-server/next-env.d.ts b/examples/api-routes-apollo-server/next-env.d.ts
index 4f11a03dc6cc3..a4a7b3f5cfa2f 100644
--- a/examples/api-routes-apollo-server/next-env.d.ts
+++ b/examples/api-routes-apollo-server/next-env.d.ts
@@ -2,4 +2,4 @@
///
// NOTE: This file should not be edited
-// see https://nextjs.org/docs/basic-features/typescript for more information.
+// see https://nextjs.org/docs/pages/building-your-application/configuring/typescript for more information.
diff --git a/examples/api-routes-cors/next-env.d.ts b/examples/api-routes-cors/next-env.d.ts
index 4f11a03dc6cc3..a4a7b3f5cfa2f 100644
--- a/examples/api-routes-cors/next-env.d.ts
+++ b/examples/api-routes-cors/next-env.d.ts
@@ -2,4 +2,4 @@
///
// NOTE: This file should not be edited
-// see https://nextjs.org/docs/basic-features/typescript for more information.
+// see https://nextjs.org/docs/pages/building-your-application/configuring/typescript for more information.
diff --git a/examples/api-routes-graphql/next-env.d.ts b/examples/api-routes-graphql/next-env.d.ts
index 4f11a03dc6cc3..a4a7b3f5cfa2f 100644
--- a/examples/api-routes-graphql/next-env.d.ts
+++ b/examples/api-routes-graphql/next-env.d.ts
@@ -2,4 +2,4 @@
///
// NOTE: This file should not be edited
-// see https://nextjs.org/docs/basic-features/typescript for more information.
+// see https://nextjs.org/docs/pages/building-your-application/configuring/typescript for more information.
diff --git a/examples/api-routes-middleware/next-env.d.ts b/examples/api-routes-middleware/next-env.d.ts
index 4f11a03dc6cc3..a4a7b3f5cfa2f 100644
--- a/examples/api-routes-middleware/next-env.d.ts
+++ b/examples/api-routes-middleware/next-env.d.ts
@@ -2,4 +2,4 @@
///
// NOTE: This file should not be edited
-// see https://nextjs.org/docs/basic-features/typescript for more information.
+// see https://nextjs.org/docs/pages/building-your-application/configuring/typescript for more information.
diff --git a/examples/api-routes-rate-limit/next-env.d.ts b/examples/api-routes-rate-limit/next-env.d.ts
index 4f11a03dc6cc3..a4a7b3f5cfa2f 100644
--- a/examples/api-routes-rate-limit/next-env.d.ts
+++ b/examples/api-routes-rate-limit/next-env.d.ts
@@ -2,4 +2,4 @@
///
// NOTE: This file should not be edited
-// see https://nextjs.org/docs/basic-features/typescript for more information.
+// see https://nextjs.org/docs/pages/building-your-application/configuring/typescript for more information.
diff --git a/examples/api-routes-rest/next-env.d.ts b/examples/api-routes-rest/next-env.d.ts
index 4f11a03dc6cc3..a4a7b3f5cfa2f 100644
--- a/examples/api-routes-rest/next-env.d.ts
+++ b/examples/api-routes-rest/next-env.d.ts
@@ -2,4 +2,4 @@
///
// NOTE: This file should not be edited
-// see https://nextjs.org/docs/basic-features/typescript for more information.
+// see https://nextjs.org/docs/pages/building-your-application/configuring/typescript for more information.
diff --git a/examples/api-routes/next-env.d.ts b/examples/api-routes/next-env.d.ts
index 4f11a03dc6cc3..a4a7b3f5cfa2f 100644
--- a/examples/api-routes/next-env.d.ts
+++ b/examples/api-routes/next-env.d.ts
@@ -2,4 +2,4 @@
///
// NOTE: This file should not be edited
-// see https://nextjs.org/docs/basic-features/typescript for more information.
+// see https://nextjs.org/docs/pages/building-your-application/configuring/typescript for more information.
diff --git a/examples/app-dir-i18n-routing/next-env.d.ts b/examples/app-dir-i18n-routing/next-env.d.ts
index 4f11a03dc6cc3..40c3d68096c27 100644
--- a/examples/app-dir-i18n-routing/next-env.d.ts
+++ b/examples/app-dir-i18n-routing/next-env.d.ts
@@ -2,4 +2,4 @@
///
// NOTE: This file should not be edited
-// see https://nextjs.org/docs/basic-features/typescript for more information.
+// see https://nextjs.org/docs/app/building-your-application/configuring/typescript for more information.
diff --git a/examples/app-dir-mdx/next-env.d.ts b/examples/app-dir-mdx/next-env.d.ts
index 4f11a03dc6cc3..40c3d68096c27 100644
--- a/examples/app-dir-mdx/next-env.d.ts
+++ b/examples/app-dir-mdx/next-env.d.ts
@@ -2,4 +2,4 @@
///
// NOTE: This file should not be edited
-// see https://nextjs.org/docs/basic-features/typescript for more information.
+// see https://nextjs.org/docs/app/building-your-application/configuring/typescript for more information.
diff --git a/examples/auth0/next-env.d.ts b/examples/auth0/next-env.d.ts
index 4f11a03dc6cc3..a4a7b3f5cfa2f 100644
--- a/examples/auth0/next-env.d.ts
+++ b/examples/auth0/next-env.d.ts
@@ -2,4 +2,4 @@
///
// NOTE: This file should not be edited
-// see https://nextjs.org/docs/basic-features/typescript for more information.
+// see https://nextjs.org/docs/pages/building-your-application/configuring/typescript for more information.
diff --git a/examples/basic-css/next-env.d.ts b/examples/basic-css/next-env.d.ts
index 4f11a03dc6cc3..40c3d68096c27 100644
--- a/examples/basic-css/next-env.d.ts
+++ b/examples/basic-css/next-env.d.ts
@@ -2,4 +2,4 @@
///
// NOTE: This file should not be edited
-// see https://nextjs.org/docs/basic-features/typescript for more information.
+// see https://nextjs.org/docs/app/building-your-application/configuring/typescript for more information.
diff --git a/examples/basic-export/next-env.d.ts b/examples/basic-export/next-env.d.ts
index 4f11a03dc6cc3..40c3d68096c27 100644
--- a/examples/basic-export/next-env.d.ts
+++ b/examples/basic-export/next-env.d.ts
@@ -2,4 +2,4 @@
///
// NOTE: This file should not be edited
-// see https://nextjs.org/docs/basic-features/typescript for more information.
+// see https://nextjs.org/docs/app/building-your-application/configuring/typescript for more information.
diff --git a/examples/blog-starter/next-env.d.ts b/examples/blog-starter/next-env.d.ts
index 4f11a03dc6cc3..a4a7b3f5cfa2f 100644
--- a/examples/blog-starter/next-env.d.ts
+++ b/examples/blog-starter/next-env.d.ts
@@ -2,4 +2,4 @@
///
// NOTE: This file should not be edited
-// see https://nextjs.org/docs/basic-features/typescript for more information.
+// see https://nextjs.org/docs/pages/building-your-application/configuring/typescript for more information.
diff --git a/examples/blog-with-comment/next-env.d.ts b/examples/blog-with-comment/next-env.d.ts
index 4f11a03dc6cc3..a4a7b3f5cfa2f 100644
--- a/examples/blog-with-comment/next-env.d.ts
+++ b/examples/blog-with-comment/next-env.d.ts
@@ -2,4 +2,4 @@
///
// NOTE: This file should not be edited
-// see https://nextjs.org/docs/basic-features/typescript for more information.
+// see https://nextjs.org/docs/pages/building-your-application/configuring/typescript for more information.
diff --git a/examples/blog/next-env.d.ts b/examples/blog/next-env.d.ts
index 4f11a03dc6cc3..a4a7b3f5cfa2f 100644
--- a/examples/blog/next-env.d.ts
+++ b/examples/blog/next-env.d.ts
@@ -2,4 +2,4 @@
///
// NOTE: This file should not be edited
-// see https://nextjs.org/docs/basic-features/typescript for more information.
+// see https://nextjs.org/docs/pages/building-your-application/configuring/typescript for more information.
diff --git a/examples/catch-all-routes/next-env.d.ts b/examples/catch-all-routes/next-env.d.ts
index 4f11a03dc6cc3..40c3d68096c27 100644
--- a/examples/catch-all-routes/next-env.d.ts
+++ b/examples/catch-all-routes/next-env.d.ts
@@ -2,4 +2,4 @@
///
// NOTE: This file should not be edited
-// see https://nextjs.org/docs/basic-features/typescript for more information.
+// see https://nextjs.org/docs/app/building-your-application/configuring/typescript for more information.
diff --git a/examples/cloudflare-turnstile/next-env.d.ts b/examples/cloudflare-turnstile/next-env.d.ts
index 4f11a03dc6cc3..a4a7b3f5cfa2f 100644
--- a/examples/cloudflare-turnstile/next-env.d.ts
+++ b/examples/cloudflare-turnstile/next-env.d.ts
@@ -2,4 +2,4 @@
///
// NOTE: This file should not be edited
-// see https://nextjs.org/docs/basic-features/typescript for more information.
+// see https://nextjs.org/docs/pages/building-your-application/configuring/typescript for more information.
diff --git a/examples/cms-agilitycms/next-env.d.ts b/examples/cms-agilitycms/next-env.d.ts
index 4f11a03dc6cc3..a4a7b3f5cfa2f 100644
--- a/examples/cms-agilitycms/next-env.d.ts
+++ b/examples/cms-agilitycms/next-env.d.ts
@@ -2,4 +2,4 @@
///
// NOTE: This file should not be edited
-// see https://nextjs.org/docs/basic-features/typescript for more information.
+// see https://nextjs.org/docs/pages/building-your-application/configuring/typescript for more information.
diff --git a/examples/cms-cosmic/next-env.d.ts b/examples/cms-cosmic/next-env.d.ts
index 4f11a03dc6cc3..a4a7b3f5cfa2f 100644
--- a/examples/cms-cosmic/next-env.d.ts
+++ b/examples/cms-cosmic/next-env.d.ts
@@ -2,4 +2,4 @@
///
// NOTE: This file should not be edited
-// see https://nextjs.org/docs/basic-features/typescript for more information.
+// see https://nextjs.org/docs/pages/building-your-application/configuring/typescript for more information.
diff --git a/examples/cms-dotcms/next-env.d.ts b/examples/cms-dotcms/next-env.d.ts
index 4f11a03dc6cc3..a4a7b3f5cfa2f 100644
--- a/examples/cms-dotcms/next-env.d.ts
+++ b/examples/cms-dotcms/next-env.d.ts
@@ -2,4 +2,4 @@
///
// NOTE: This file should not be edited
-// see https://nextjs.org/docs/basic-features/typescript for more information.
+// see https://nextjs.org/docs/pages/building-your-application/configuring/typescript for more information.
diff --git a/examples/cms-enterspeed/next-env.d.ts b/examples/cms-enterspeed/next-env.d.ts
index 4f11a03dc6cc3..a4a7b3f5cfa2f 100644
--- a/examples/cms-enterspeed/next-env.d.ts
+++ b/examples/cms-enterspeed/next-env.d.ts
@@ -2,4 +2,4 @@
///
// NOTE: This file should not be edited
-// see https://nextjs.org/docs/basic-features/typescript for more information.
+// see https://nextjs.org/docs/pages/building-your-application/configuring/typescript for more information.
diff --git a/examples/cms-kontent-ai/next-env.d.ts b/examples/cms-kontent-ai/next-env.d.ts
index 4f11a03dc6cc3..a4a7b3f5cfa2f 100644
--- a/examples/cms-kontent-ai/next-env.d.ts
+++ b/examples/cms-kontent-ai/next-env.d.ts
@@ -2,4 +2,4 @@
///
// NOTE: This file should not be edited
-// see https://nextjs.org/docs/basic-features/typescript for more information.
+// see https://nextjs.org/docs/pages/building-your-application/configuring/typescript for more information.
diff --git a/examples/cms-makeswift/next-env.d.ts b/examples/cms-makeswift/next-env.d.ts
index 4f11a03dc6cc3..a4a7b3f5cfa2f 100644
--- a/examples/cms-makeswift/next-env.d.ts
+++ b/examples/cms-makeswift/next-env.d.ts
@@ -2,4 +2,4 @@
///
// NOTE: This file should not be edited
-// see https://nextjs.org/docs/basic-features/typescript for more information.
+// see https://nextjs.org/docs/pages/building-your-application/configuring/typescript for more information.
diff --git a/examples/cms-payload/next-env.d.ts b/examples/cms-payload/next-env.d.ts
index 4f11a03dc6cc3..40c3d68096c27 100644
--- a/examples/cms-payload/next-env.d.ts
+++ b/examples/cms-payload/next-env.d.ts
@@ -2,4 +2,4 @@
///
// NOTE: This file should not be edited
-// see https://nextjs.org/docs/basic-features/typescript for more information.
+// see https://nextjs.org/docs/app/building-your-application/configuring/typescript for more information.
diff --git a/examples/cms-plasmic/next-env.d.ts b/examples/cms-plasmic/next-env.d.ts
index 4f11a03dc6cc3..a4a7b3f5cfa2f 100644
--- a/examples/cms-plasmic/next-env.d.ts
+++ b/examples/cms-plasmic/next-env.d.ts
@@ -2,4 +2,4 @@
///
// NOTE: This file should not be edited
-// see https://nextjs.org/docs/basic-features/typescript for more information.
+// see https://nextjs.org/docs/pages/building-your-application/configuring/typescript for more information.
diff --git a/examples/cms-prismic/next-env.d.ts b/examples/cms-prismic/next-env.d.ts
index 4f11a03dc6cc3..a4a7b3f5cfa2f 100644
--- a/examples/cms-prismic/next-env.d.ts
+++ b/examples/cms-prismic/next-env.d.ts
@@ -2,4 +2,4 @@
///
// NOTE: This file should not be edited
-// see https://nextjs.org/docs/basic-features/typescript for more information.
+// see https://nextjs.org/docs/pages/building-your-application/configuring/typescript for more information.
diff --git a/examples/cms-sitecore-xmcloud/next-env.d.ts b/examples/cms-sitecore-xmcloud/next-env.d.ts
index 4f11a03dc6cc3..a4a7b3f5cfa2f 100644
--- a/examples/cms-sitecore-xmcloud/next-env.d.ts
+++ b/examples/cms-sitecore-xmcloud/next-env.d.ts
@@ -2,4 +2,4 @@
///
// NOTE: This file should not be edited
-// see https://nextjs.org/docs/basic-features/typescript for more information.
+// see https://nextjs.org/docs/pages/building-your-application/configuring/typescript for more information.
diff --git a/examples/cms-sitefinity/next-env.d.ts b/examples/cms-sitefinity/next-env.d.ts
index 4f11a03dc6cc3..a4a7b3f5cfa2f 100644
--- a/examples/cms-sitefinity/next-env.d.ts
+++ b/examples/cms-sitefinity/next-env.d.ts
@@ -2,4 +2,4 @@
///
// NOTE: This file should not be edited
-// see https://nextjs.org/docs/basic-features/typescript for more information.
+// see https://nextjs.org/docs/pages/building-your-application/configuring/typescript for more information.
diff --git a/examples/cms-webiny/next-env.d.ts b/examples/cms-webiny/next-env.d.ts
index 4f11a03dc6cc3..a4a7b3f5cfa2f 100644
--- a/examples/cms-webiny/next-env.d.ts
+++ b/examples/cms-webiny/next-env.d.ts
@@ -2,4 +2,4 @@
///
// NOTE: This file should not be edited
-// see https://nextjs.org/docs/basic-features/typescript for more information.
+// see https://nextjs.org/docs/pages/building-your-application/configuring/typescript for more information.
diff --git a/examples/cms-wordpress/next-env.d.ts b/examples/cms-wordpress/next-env.d.ts
index 4f11a03dc6cc3..a4a7b3f5cfa2f 100644
--- a/examples/cms-wordpress/next-env.d.ts
+++ b/examples/cms-wordpress/next-env.d.ts
@@ -2,4 +2,4 @@
///
// NOTE: This file should not be edited
-// see https://nextjs.org/docs/basic-features/typescript for more information.
+// see https://nextjs.org/docs/pages/building-your-application/configuring/typescript for more information.
diff --git a/examples/convex/next-env.d.ts b/examples/convex/next-env.d.ts
index 4f11a03dc6cc3..a4a7b3f5cfa2f 100644
--- a/examples/convex/next-env.d.ts
+++ b/examples/convex/next-env.d.ts
@@ -2,4 +2,4 @@
///
// NOTE: This file should not be edited
-// see https://nextjs.org/docs/basic-features/typescript for more information.
+// see https://nextjs.org/docs/pages/building-your-application/configuring/typescript for more information.
diff --git a/examples/custom-routes-proxying/next-env.d.ts b/examples/custom-routes-proxying/next-env.d.ts
index 4f11a03dc6cc3..a4a7b3f5cfa2f 100644
--- a/examples/custom-routes-proxying/next-env.d.ts
+++ b/examples/custom-routes-proxying/next-env.d.ts
@@ -2,4 +2,4 @@
///
// NOTE: This file should not be edited
-// see https://nextjs.org/docs/basic-features/typescript for more information.
+// see https://nextjs.org/docs/pages/building-your-application/configuring/typescript for more information.
diff --git a/examples/custom-server/next-env.d.ts b/examples/custom-server/next-env.d.ts
index 4f11a03dc6cc3..40c3d68096c27 100644
--- a/examples/custom-server/next-env.d.ts
+++ b/examples/custom-server/next-env.d.ts
@@ -2,4 +2,4 @@
///
// NOTE: This file should not be edited
-// see https://nextjs.org/docs/basic-features/typescript for more information.
+// see https://nextjs.org/docs/app/building-your-application/configuring/typescript for more information.
diff --git a/examples/dynamic-routing/next-env.d.ts b/examples/dynamic-routing/next-env.d.ts
index 4f11a03dc6cc3..40c3d68096c27 100644
--- a/examples/dynamic-routing/next-env.d.ts
+++ b/examples/dynamic-routing/next-env.d.ts
@@ -2,4 +2,4 @@
///
// NOTE: This file should not be edited
-// see https://nextjs.org/docs/basic-features/typescript for more information.
+// see https://nextjs.org/docs/app/building-your-application/configuring/typescript for more information.
diff --git a/examples/environment-variables/next-env.d.ts b/examples/environment-variables/next-env.d.ts
index 4f11a03dc6cc3..a4a7b3f5cfa2f 100644
--- a/examples/environment-variables/next-env.d.ts
+++ b/examples/environment-variables/next-env.d.ts
@@ -2,4 +2,4 @@
///
// NOTE: This file should not be edited
-// see https://nextjs.org/docs/basic-features/typescript for more information.
+// see https://nextjs.org/docs/pages/building-your-application/configuring/typescript for more information.
diff --git a/examples/github-pages/next-env.d.ts b/examples/github-pages/next-env.d.ts
index 4f11a03dc6cc3..40c3d68096c27 100644
--- a/examples/github-pages/next-env.d.ts
+++ b/examples/github-pages/next-env.d.ts
@@ -2,4 +2,4 @@
///
// NOTE: This file should not be edited
-// see https://nextjs.org/docs/basic-features/typescript for more information.
+// see https://nextjs.org/docs/app/building-your-application/configuring/typescript for more information.
diff --git a/examples/head-elements/next-env.d.ts b/examples/head-elements/next-env.d.ts
index 4f11a03dc6cc3..40c3d68096c27 100644
--- a/examples/head-elements/next-env.d.ts
+++ b/examples/head-elements/next-env.d.ts
@@ -2,4 +2,4 @@
///
// NOTE: This file should not be edited
-// see https://nextjs.org/docs/basic-features/typescript for more information.
+// see https://nextjs.org/docs/app/building-your-application/configuring/typescript for more information.
diff --git a/examples/headers/next-env.d.ts b/examples/headers/next-env.d.ts
index 4f11a03dc6cc3..40c3d68096c27 100644
--- a/examples/headers/next-env.d.ts
+++ b/examples/headers/next-env.d.ts
@@ -2,4 +2,4 @@
///
// NOTE: This file should not be edited
-// see https://nextjs.org/docs/basic-features/typescript for more information.
+// see https://nextjs.org/docs/app/building-your-application/configuring/typescript for more information.
diff --git a/examples/i18n-routing/next-env.d.ts b/examples/i18n-routing/next-env.d.ts
index 4f11a03dc6cc3..a4a7b3f5cfa2f 100644
--- a/examples/i18n-routing/next-env.d.ts
+++ b/examples/i18n-routing/next-env.d.ts
@@ -2,4 +2,4 @@
///
// NOTE: This file should not be edited
-// see https://nextjs.org/docs/basic-features/typescript for more information.
+// see https://nextjs.org/docs/pages/building-your-application/configuring/typescript for more information.
diff --git a/examples/image-component/next-env.d.ts b/examples/image-component/next-env.d.ts
index 4f11a03dc6cc3..40c3d68096c27 100644
--- a/examples/image-component/next-env.d.ts
+++ b/examples/image-component/next-env.d.ts
@@ -2,4 +2,4 @@
///
// NOTE: This file should not be edited
-// see https://nextjs.org/docs/basic-features/typescript for more information.
+// see https://nextjs.org/docs/app/building-your-application/configuring/typescript for more information.
diff --git a/examples/image-legacy-component/next-env.d.ts b/examples/image-legacy-component/next-env.d.ts
index 4f11a03dc6cc3..a4a7b3f5cfa2f 100644
--- a/examples/image-legacy-component/next-env.d.ts
+++ b/examples/image-legacy-component/next-env.d.ts
@@ -2,4 +2,4 @@
///
// NOTE: This file should not be edited
-// see https://nextjs.org/docs/basic-features/typescript for more information.
+// see https://nextjs.org/docs/pages/building-your-application/configuring/typescript for more information.
diff --git a/examples/layout-component/next-env.d.ts b/examples/layout-component/next-env.d.ts
index 4f11a03dc6cc3..40c3d68096c27 100644
--- a/examples/layout-component/next-env.d.ts
+++ b/examples/layout-component/next-env.d.ts
@@ -2,4 +2,4 @@
///
// NOTE: This file should not be edited
-// see https://nextjs.org/docs/basic-features/typescript for more information.
+// see https://nextjs.org/docs/app/building-your-application/configuring/typescript for more information.
diff --git a/examples/markdoc/next-env.d.ts b/examples/markdoc/next-env.d.ts
index 4f11a03dc6cc3..a4a7b3f5cfa2f 100644
--- a/examples/markdoc/next-env.d.ts
+++ b/examples/markdoc/next-env.d.ts
@@ -2,4 +2,4 @@
///
// NOTE: This file should not be edited
-// see https://nextjs.org/docs/basic-features/typescript for more information.
+// see https://nextjs.org/docs/pages/building-your-application/configuring/typescript for more information.
diff --git a/examples/middleware-matcher/next-env.d.ts b/examples/middleware-matcher/next-env.d.ts
index 4f11a03dc6cc3..a4a7b3f5cfa2f 100644
--- a/examples/middleware-matcher/next-env.d.ts
+++ b/examples/middleware-matcher/next-env.d.ts
@@ -2,4 +2,4 @@
///
// NOTE: This file should not be edited
-// see https://nextjs.org/docs/basic-features/typescript for more information.
+// see https://nextjs.org/docs/pages/building-your-application/configuring/typescript for more information.
diff --git a/examples/middleware/next-env.d.ts b/examples/middleware/next-env.d.ts
index 4f11a03dc6cc3..40c3d68096c27 100644
--- a/examples/middleware/next-env.d.ts
+++ b/examples/middleware/next-env.d.ts
@@ -2,4 +2,4 @@
///
// NOTE: This file should not be edited
-// see https://nextjs.org/docs/basic-features/typescript for more information.
+// see https://nextjs.org/docs/app/building-your-application/configuring/typescript for more information.
diff --git a/examples/modularize-imports/next-env.d.ts b/examples/modularize-imports/next-env.d.ts
index 4f11a03dc6cc3..a4a7b3f5cfa2f 100644
--- a/examples/modularize-imports/next-env.d.ts
+++ b/examples/modularize-imports/next-env.d.ts
@@ -2,4 +2,4 @@
///
// NOTE: This file should not be edited
-// see https://nextjs.org/docs/basic-features/typescript for more information.
+// see https://nextjs.org/docs/pages/building-your-application/configuring/typescript for more information.
diff --git a/examples/nested-components/next-env.d.ts b/examples/nested-components/next-env.d.ts
index 4f11a03dc6cc3..40c3d68096c27 100644
--- a/examples/nested-components/next-env.d.ts
+++ b/examples/nested-components/next-env.d.ts
@@ -2,4 +2,4 @@
///
// NOTE: This file should not be edited
-// see https://nextjs.org/docs/basic-features/typescript for more information.
+// see https://nextjs.org/docs/app/building-your-application/configuring/typescript for more information.
diff --git a/examples/next-css/next-env.d.ts b/examples/next-css/next-env.d.ts
index 4f11a03dc6cc3..40c3d68096c27 100644
--- a/examples/next-css/next-env.d.ts
+++ b/examples/next-css/next-env.d.ts
@@ -2,4 +2,4 @@
///
// NOTE: This file should not be edited
-// see https://nextjs.org/docs/basic-features/typescript for more information.
+// see https://nextjs.org/docs/app/building-your-application/configuring/typescript for more information.
diff --git a/examples/next-forms/next-env.d.ts b/examples/next-forms/next-env.d.ts
index 4f11a03dc6cc3..40c3d68096c27 100644
--- a/examples/next-forms/next-env.d.ts
+++ b/examples/next-forms/next-env.d.ts
@@ -2,4 +2,4 @@
///
// NOTE: This file should not be edited
-// see https://nextjs.org/docs/basic-features/typescript for more information.
+// see https://nextjs.org/docs/app/building-your-application/configuring/typescript for more information.
diff --git a/examples/next-offline/next-env.d.ts b/examples/next-offline/next-env.d.ts
index 4f11a03dc6cc3..a4a7b3f5cfa2f 100644
--- a/examples/next-offline/next-env.d.ts
+++ b/examples/next-offline/next-env.d.ts
@@ -2,4 +2,4 @@
///
// NOTE: This file should not be edited
-// see https://nextjs.org/docs/basic-features/typescript for more information.
+// see https://nextjs.org/docs/pages/building-your-application/configuring/typescript for more information.
diff --git a/examples/progressive-web-app/next-env.d.ts b/examples/progressive-web-app/next-env.d.ts
index 4f11a03dc6cc3..a4a7b3f5cfa2f 100644
--- a/examples/progressive-web-app/next-env.d.ts
+++ b/examples/progressive-web-app/next-env.d.ts
@@ -2,4 +2,4 @@
///
// NOTE: This file should not be edited
-// see https://nextjs.org/docs/basic-features/typescript for more information.
+// see https://nextjs.org/docs/pages/building-your-application/configuring/typescript for more information.
diff --git a/examples/radix-ui/next-env.d.ts b/examples/radix-ui/next-env.d.ts
index 4f11a03dc6cc3..a4a7b3f5cfa2f 100644
--- a/examples/radix-ui/next-env.d.ts
+++ b/examples/radix-ui/next-env.d.ts
@@ -2,4 +2,4 @@
///
// NOTE: This file should not be edited
-// see https://nextjs.org/docs/basic-features/typescript for more information.
+// see https://nextjs.org/docs/pages/building-your-application/configuring/typescript for more information.
diff --git a/examples/react-remove-properties/next-env.d.ts b/examples/react-remove-properties/next-env.d.ts
index 4f11a03dc6cc3..40c3d68096c27 100644
--- a/examples/react-remove-properties/next-env.d.ts
+++ b/examples/react-remove-properties/next-env.d.ts
@@ -2,4 +2,4 @@
///
// NOTE: This file should not be edited
-// see https://nextjs.org/docs/basic-features/typescript for more information.
+// see https://nextjs.org/docs/app/building-your-application/configuring/typescript for more information.
diff --git a/examples/redirects/next-env.d.ts b/examples/redirects/next-env.d.ts
index 4f11a03dc6cc3..40c3d68096c27 100644
--- a/examples/redirects/next-env.d.ts
+++ b/examples/redirects/next-env.d.ts
@@ -2,4 +2,4 @@
///
// NOTE: This file should not be edited
-// see https://nextjs.org/docs/basic-features/typescript for more information.
+// see https://nextjs.org/docs/app/building-your-application/configuring/typescript for more information.
diff --git a/examples/remove-console/next-env.d.ts b/examples/remove-console/next-env.d.ts
index 4f11a03dc6cc3..a4a7b3f5cfa2f 100644
--- a/examples/remove-console/next-env.d.ts
+++ b/examples/remove-console/next-env.d.ts
@@ -2,4 +2,4 @@
///
// NOTE: This file should not be edited
-// see https://nextjs.org/docs/basic-features/typescript for more information.
+// see https://nextjs.org/docs/pages/building-your-application/configuring/typescript for more information.
diff --git a/examples/reproduction-template/next-env.d.ts b/examples/reproduction-template/next-env.d.ts
index 4f11a03dc6cc3..40c3d68096c27 100644
--- a/examples/reproduction-template/next-env.d.ts
+++ b/examples/reproduction-template/next-env.d.ts
@@ -2,4 +2,4 @@
///
// NOTE: This file should not be edited
-// see https://nextjs.org/docs/basic-features/typescript for more information.
+// see https://nextjs.org/docs/app/building-your-application/configuring/typescript for more information.
diff --git a/examples/rewrites/next-env.d.ts b/examples/rewrites/next-env.d.ts
index 4f11a03dc6cc3..a4a7b3f5cfa2f 100644
--- a/examples/rewrites/next-env.d.ts
+++ b/examples/rewrites/next-env.d.ts
@@ -2,4 +2,4 @@
///
// NOTE: This file should not be edited
-// see https://nextjs.org/docs/basic-features/typescript for more information.
+// see https://nextjs.org/docs/pages/building-your-application/configuring/typescript for more information.
diff --git a/examples/script-component/next-env.d.ts b/examples/script-component/next-env.d.ts
index 4f11a03dc6cc3..a4a7b3f5cfa2f 100644
--- a/examples/script-component/next-env.d.ts
+++ b/examples/script-component/next-env.d.ts
@@ -2,4 +2,4 @@
///
// NOTE: This file should not be edited
-// see https://nextjs.org/docs/basic-features/typescript for more information.
+// see https://nextjs.org/docs/pages/building-your-application/configuring/typescript for more information.
diff --git a/examples/ssr-caching/next-env.d.ts b/examples/ssr-caching/next-env.d.ts
index 4f11a03dc6cc3..a4a7b3f5cfa2f 100644
--- a/examples/ssr-caching/next-env.d.ts
+++ b/examples/ssr-caching/next-env.d.ts
@@ -2,4 +2,4 @@
///
// NOTE: This file should not be edited
-// see https://nextjs.org/docs/basic-features/typescript for more information.
+// see https://nextjs.org/docs/pages/building-your-application/configuring/typescript for more information.
diff --git a/examples/svg-components/next-env.d.ts b/examples/svg-components/next-env.d.ts
index 4f11a03dc6cc3..40c3d68096c27 100644
--- a/examples/svg-components/next-env.d.ts
+++ b/examples/svg-components/next-env.d.ts
@@ -2,4 +2,4 @@
///
// NOTE: This file should not be edited
-// see https://nextjs.org/docs/basic-features/typescript for more information.
+// see https://nextjs.org/docs/app/building-your-application/configuring/typescript for more information.
diff --git a/examples/with-ably/next-env.d.ts b/examples/with-ably/next-env.d.ts
index 4f11a03dc6cc3..a4a7b3f5cfa2f 100644
--- a/examples/with-ably/next-env.d.ts
+++ b/examples/with-ably/next-env.d.ts
@@ -2,4 +2,4 @@
///
// NOTE: This file should not be edited
-// see https://nextjs.org/docs/basic-features/typescript for more information.
+// see https://nextjs.org/docs/pages/building-your-application/configuring/typescript for more information.
diff --git a/examples/with-absolute-imports/next-env.d.ts b/examples/with-absolute-imports/next-env.d.ts
index 4f11a03dc6cc3..40c3d68096c27 100644
--- a/examples/with-absolute-imports/next-env.d.ts
+++ b/examples/with-absolute-imports/next-env.d.ts
@@ -2,4 +2,4 @@
///
// NOTE: This file should not be edited
-// see https://nextjs.org/docs/basic-features/typescript for more information.
+// see https://nextjs.org/docs/app/building-your-application/configuring/typescript for more information.
diff --git a/examples/with-algolia-react-instantsearch/next-env.d.ts b/examples/with-algolia-react-instantsearch/next-env.d.ts
index 4f11a03dc6cc3..40c3d68096c27 100644
--- a/examples/with-algolia-react-instantsearch/next-env.d.ts
+++ b/examples/with-algolia-react-instantsearch/next-env.d.ts
@@ -2,4 +2,4 @@
///
// NOTE: This file should not be edited
-// see https://nextjs.org/docs/basic-features/typescript for more information.
+// see https://nextjs.org/docs/app/building-your-application/configuring/typescript for more information.
diff --git a/examples/with-ant-design/next-env.d.ts b/examples/with-ant-design/next-env.d.ts
index 4f11a03dc6cc3..40c3d68096c27 100644
--- a/examples/with-ant-design/next-env.d.ts
+++ b/examples/with-ant-design/next-env.d.ts
@@ -2,4 +2,4 @@
///
// NOTE: This file should not be edited
-// see https://nextjs.org/docs/basic-features/typescript for more information.
+// see https://nextjs.org/docs/app/building-your-application/configuring/typescript for more information.
diff --git a/examples/with-apivideo/next-env.d.ts b/examples/with-apivideo/next-env.d.ts
index 4f11a03dc6cc3..a4a7b3f5cfa2f 100644
--- a/examples/with-apivideo/next-env.d.ts
+++ b/examples/with-apivideo/next-env.d.ts
@@ -2,4 +2,4 @@
///
// NOTE: This file should not be edited
-// see https://nextjs.org/docs/basic-features/typescript for more information.
+// see https://nextjs.org/docs/pages/building-your-application/configuring/typescript for more information.
diff --git a/examples/with-axiom/next-env.d.ts b/examples/with-axiom/next-env.d.ts
index 4f11a03dc6cc3..a4a7b3f5cfa2f 100644
--- a/examples/with-axiom/next-env.d.ts
+++ b/examples/with-axiom/next-env.d.ts
@@ -2,4 +2,4 @@
///
// NOTE: This file should not be edited
-// see https://nextjs.org/docs/basic-features/typescript for more information.
+// see https://nextjs.org/docs/pages/building-your-application/configuring/typescript for more information.
diff --git a/examples/with-chakra-ui/next-env.d.ts b/examples/with-chakra-ui/next-env.d.ts
index 4f11a03dc6cc3..a4a7b3f5cfa2f 100644
--- a/examples/with-chakra-ui/next-env.d.ts
+++ b/examples/with-chakra-ui/next-env.d.ts
@@ -2,4 +2,4 @@
///
// NOTE: This file should not be edited
-// see https://nextjs.org/docs/basic-features/typescript for more information.
+// see https://nextjs.org/docs/pages/building-your-application/configuring/typescript for more information.
diff --git a/examples/with-cloudinary/next-env.d.ts b/examples/with-cloudinary/next-env.d.ts
index 4f11a03dc6cc3..a4a7b3f5cfa2f 100644
--- a/examples/with-cloudinary/next-env.d.ts
+++ b/examples/with-cloudinary/next-env.d.ts
@@ -2,4 +2,4 @@
///
// NOTE: This file should not be edited
-// see https://nextjs.org/docs/basic-features/typescript for more information.
+// see https://nextjs.org/docs/pages/building-your-application/configuring/typescript for more information.
diff --git a/examples/with-context-api/next-env.d.ts b/examples/with-context-api/next-env.d.ts
index 4f11a03dc6cc3..a4a7b3f5cfa2f 100644
--- a/examples/with-context-api/next-env.d.ts
+++ b/examples/with-context-api/next-env.d.ts
@@ -2,4 +2,4 @@
///
// NOTE: This file should not be edited
-// see https://nextjs.org/docs/basic-features/typescript for more information.
+// see https://nextjs.org/docs/pages/building-your-application/configuring/typescript for more information.
diff --git a/examples/with-cookies-next/next-env.d.ts b/examples/with-cookies-next/next-env.d.ts
index 4f11a03dc6cc3..a4a7b3f5cfa2f 100644
--- a/examples/with-cookies-next/next-env.d.ts
+++ b/examples/with-cookies-next/next-env.d.ts
@@ -2,4 +2,4 @@
///
// NOTE: This file should not be edited
-// see https://nextjs.org/docs/basic-features/typescript for more information.
+// see https://nextjs.org/docs/pages/building-your-application/configuring/typescript for more information.
diff --git a/examples/with-cssed/next-env.d.ts b/examples/with-cssed/next-env.d.ts
index 4f11a03dc6cc3..a4a7b3f5cfa2f 100644
--- a/examples/with-cssed/next-env.d.ts
+++ b/examples/with-cssed/next-env.d.ts
@@ -2,4 +2,4 @@
///
// NOTE: This file should not be edited
-// see https://nextjs.org/docs/basic-features/typescript for more information.
+// see https://nextjs.org/docs/pages/building-your-application/configuring/typescript for more information.
diff --git a/examples/with-cxs/next-env.d.ts b/examples/with-cxs/next-env.d.ts
index 4f11a03dc6cc3..a4a7b3f5cfa2f 100644
--- a/examples/with-cxs/next-env.d.ts
+++ b/examples/with-cxs/next-env.d.ts
@@ -2,4 +2,4 @@
///
// NOTE: This file should not be edited
-// see https://nextjs.org/docs/basic-features/typescript for more information.
+// see https://nextjs.org/docs/pages/building-your-application/configuring/typescript for more information.
diff --git a/examples/with-cypress/next-env.d.ts b/examples/with-cypress/next-env.d.ts
index 4f11a03dc6cc3..40c3d68096c27 100644
--- a/examples/with-cypress/next-env.d.ts
+++ b/examples/with-cypress/next-env.d.ts
@@ -2,4 +2,4 @@
///
// NOTE: This file should not be edited
-// see https://nextjs.org/docs/basic-features/typescript for more information.
+// see https://nextjs.org/docs/app/building-your-application/configuring/typescript for more information.
diff --git a/examples/with-dynamic-import/next-env.d.ts b/examples/with-dynamic-import/next-env.d.ts
index 4f11a03dc6cc3..a4a7b3f5cfa2f 100644
--- a/examples/with-dynamic-import/next-env.d.ts
+++ b/examples/with-dynamic-import/next-env.d.ts
@@ -2,4 +2,4 @@
///
// NOTE: This file should not be edited
-// see https://nextjs.org/docs/basic-features/typescript for more information.
+// see https://nextjs.org/docs/pages/building-your-application/configuring/typescript for more information.
diff --git a/examples/with-edgedb/next-env.d.ts b/examples/with-edgedb/next-env.d.ts
index 4f11a03dc6cc3..a4a7b3f5cfa2f 100644
--- a/examples/with-edgedb/next-env.d.ts
+++ b/examples/with-edgedb/next-env.d.ts
@@ -2,4 +2,4 @@
///
// NOTE: This file should not be edited
-// see https://nextjs.org/docs/basic-features/typescript for more information.
+// see https://nextjs.org/docs/pages/building-your-application/configuring/typescript for more information.
diff --git a/examples/with-expo-typescript/next-env.d.ts b/examples/with-expo-typescript/next-env.d.ts
index 4f11a03dc6cc3..a4a7b3f5cfa2f 100644
--- a/examples/with-expo-typescript/next-env.d.ts
+++ b/examples/with-expo-typescript/next-env.d.ts
@@ -2,4 +2,4 @@
///
// NOTE: This file should not be edited
-// see https://nextjs.org/docs/basic-features/typescript for more information.
+// see https://nextjs.org/docs/pages/building-your-application/configuring/typescript for more information.
diff --git a/examples/with-fingerprintjs-pro/next-env.d.ts b/examples/with-fingerprintjs-pro/next-env.d.ts
index 4f11a03dc6cc3..a4a7b3f5cfa2f 100644
--- a/examples/with-fingerprintjs-pro/next-env.d.ts
+++ b/examples/with-fingerprintjs-pro/next-env.d.ts
@@ -2,4 +2,4 @@
///
// NOTE: This file should not be edited
-// see https://nextjs.org/docs/basic-features/typescript for more information.
+// see https://nextjs.org/docs/pages/building-your-application/configuring/typescript for more information.
diff --git a/examples/with-goober/next-env.d.ts b/examples/with-goober/next-env.d.ts
index 4f11a03dc6cc3..a4a7b3f5cfa2f 100644
--- a/examples/with-goober/next-env.d.ts
+++ b/examples/with-goober/next-env.d.ts
@@ -2,4 +2,4 @@
///
// NOTE: This file should not be edited
-// see https://nextjs.org/docs/basic-features/typescript for more information.
+// see https://nextjs.org/docs/pages/building-your-application/configuring/typescript for more information.
diff --git a/examples/with-grafbase/next-env.d.ts b/examples/with-grafbase/next-env.d.ts
index 4f11a03dc6cc3..40c3d68096c27 100644
--- a/examples/with-grafbase/next-env.d.ts
+++ b/examples/with-grafbase/next-env.d.ts
@@ -2,4 +2,4 @@
///
// NOTE: This file should not be edited
-// see https://nextjs.org/docs/basic-features/typescript for more information.
+// see https://nextjs.org/docs/app/building-your-application/configuring/typescript for more information.
diff --git a/examples/with-graphql-gateway/next-env.d.ts b/examples/with-graphql-gateway/next-env.d.ts
index 4f11a03dc6cc3..a4a7b3f5cfa2f 100644
--- a/examples/with-graphql-gateway/next-env.d.ts
+++ b/examples/with-graphql-gateway/next-env.d.ts
@@ -2,4 +2,4 @@
///
// NOTE: This file should not be edited
-// see https://nextjs.org/docs/basic-features/typescript for more information.
+// see https://nextjs.org/docs/pages/building-your-application/configuring/typescript for more information.
diff --git a/examples/with-gsap/next-env.d.ts b/examples/with-gsap/next-env.d.ts
index 4f11a03dc6cc3..a4a7b3f5cfa2f 100644
--- a/examples/with-gsap/next-env.d.ts
+++ b/examples/with-gsap/next-env.d.ts
@@ -2,4 +2,4 @@
///
// NOTE: This file should not be edited
-// see https://nextjs.org/docs/basic-features/typescript for more information.
+// see https://nextjs.org/docs/pages/building-your-application/configuring/typescript for more information.
diff --git a/examples/with-ionic-typescript/next-env.d.ts b/examples/with-ionic-typescript/next-env.d.ts
index 4f11a03dc6cc3..a4a7b3f5cfa2f 100644
--- a/examples/with-ionic-typescript/next-env.d.ts
+++ b/examples/with-ionic-typescript/next-env.d.ts
@@ -2,4 +2,4 @@
///
// NOTE: This file should not be edited
-// see https://nextjs.org/docs/basic-features/typescript for more information.
+// see https://nextjs.org/docs/pages/building-your-application/configuring/typescript for more information.
diff --git a/examples/with-jest-babel/next-env.d.ts b/examples/with-jest-babel/next-env.d.ts
index 4f11a03dc6cc3..a4a7b3f5cfa2f 100644
--- a/examples/with-jest-babel/next-env.d.ts
+++ b/examples/with-jest-babel/next-env.d.ts
@@ -2,4 +2,4 @@
///
// NOTE: This file should not be edited
-// see https://nextjs.org/docs/basic-features/typescript for more information.
+// see https://nextjs.org/docs/pages/building-your-application/configuring/typescript for more information.
diff --git a/examples/with-jest/next-env.d.ts b/examples/with-jest/next-env.d.ts
index 4f11a03dc6cc3..40c3d68096c27 100644
--- a/examples/with-jest/next-env.d.ts
+++ b/examples/with-jest/next-env.d.ts
@@ -2,4 +2,4 @@
///
// NOTE: This file should not be edited
-// see https://nextjs.org/docs/basic-features/typescript for more information.
+// see https://nextjs.org/docs/app/building-your-application/configuring/typescript for more information.
diff --git a/examples/with-jotai/next-env.d.ts b/examples/with-jotai/next-env.d.ts
index 4f11a03dc6cc3..40c3d68096c27 100644
--- a/examples/with-jotai/next-env.d.ts
+++ b/examples/with-jotai/next-env.d.ts
@@ -2,4 +2,4 @@
///
// NOTE: This file should not be edited
-// see https://nextjs.org/docs/basic-features/typescript for more information.
+// see https://nextjs.org/docs/app/building-your-application/configuring/typescript for more information.
diff --git a/examples/with-linaria/next-env.d.ts b/examples/with-linaria/next-env.d.ts
index 4f11a03dc6cc3..a4a7b3f5cfa2f 100644
--- a/examples/with-linaria/next-env.d.ts
+++ b/examples/with-linaria/next-env.d.ts
@@ -2,4 +2,4 @@
///
// NOTE: This file should not be edited
-// see https://nextjs.org/docs/basic-features/typescript for more information.
+// see https://nextjs.org/docs/pages/building-your-application/configuring/typescript for more information.
diff --git a/examples/with-mantine/next-env.d.ts b/examples/with-mantine/next-env.d.ts
index 4f11a03dc6cc3..a4a7b3f5cfa2f 100644
--- a/examples/with-mantine/next-env.d.ts
+++ b/examples/with-mantine/next-env.d.ts
@@ -2,4 +2,4 @@
///
// NOTE: This file should not be edited
-// see https://nextjs.org/docs/basic-features/typescript for more information.
+// see https://nextjs.org/docs/pages/building-your-application/configuring/typescript for more information.
diff --git a/examples/with-mobx-state-tree/next-env.d.ts b/examples/with-mobx-state-tree/next-env.d.ts
index 4f11a03dc6cc3..a4a7b3f5cfa2f 100644
--- a/examples/with-mobx-state-tree/next-env.d.ts
+++ b/examples/with-mobx-state-tree/next-env.d.ts
@@ -2,4 +2,4 @@
///
// NOTE: This file should not be edited
-// see https://nextjs.org/docs/basic-features/typescript for more information.
+// see https://nextjs.org/docs/pages/building-your-application/configuring/typescript for more information.
diff --git a/examples/with-mongodb-mongoose/next-env.d.ts b/examples/with-mongodb-mongoose/next-env.d.ts
index 4f11a03dc6cc3..a4a7b3f5cfa2f 100644
--- a/examples/with-mongodb-mongoose/next-env.d.ts
+++ b/examples/with-mongodb-mongoose/next-env.d.ts
@@ -2,4 +2,4 @@
///
// NOTE: This file should not be edited
-// see https://nextjs.org/docs/basic-features/typescript for more information.
+// see https://nextjs.org/docs/pages/building-your-application/configuring/typescript for more information.
diff --git a/examples/with-mongodb/next-env.d.ts b/examples/with-mongodb/next-env.d.ts
index 4f11a03dc6cc3..40c3d68096c27 100644
--- a/examples/with-mongodb/next-env.d.ts
+++ b/examples/with-mongodb/next-env.d.ts
@@ -2,4 +2,4 @@
///
// NOTE: This file should not be edited
-// see https://nextjs.org/docs/basic-features/typescript for more information.
+// see https://nextjs.org/docs/app/building-your-application/configuring/typescript for more information.
diff --git a/examples/with-mqtt-js/next-env.d.ts b/examples/with-mqtt-js/next-env.d.ts
index 4f11a03dc6cc3..a4a7b3f5cfa2f 100644
--- a/examples/with-mqtt-js/next-env.d.ts
+++ b/examples/with-mqtt-js/next-env.d.ts
@@ -2,4 +2,4 @@
///
// NOTE: This file should not be edited
-// see https://nextjs.org/docs/basic-features/typescript for more information.
+// see https://nextjs.org/docs/pages/building-your-application/configuring/typescript for more information.
diff --git a/examples/with-msw/next-env.d.ts b/examples/with-msw/next-env.d.ts
index 4f11a03dc6cc3..a4a7b3f5cfa2f 100644
--- a/examples/with-msw/next-env.d.ts
+++ b/examples/with-msw/next-env.d.ts
@@ -2,4 +2,4 @@
///
// NOTE: This file should not be edited
-// see https://nextjs.org/docs/basic-features/typescript for more information.
+// see https://nextjs.org/docs/pages/building-your-application/configuring/typescript for more information.
diff --git a/examples/with-mux-video/next-env.d.ts b/examples/with-mux-video/next-env.d.ts
index 4f11a03dc6cc3..40c3d68096c27 100644
--- a/examples/with-mux-video/next-env.d.ts
+++ b/examples/with-mux-video/next-env.d.ts
@@ -2,4 +2,4 @@
///
// NOTE: This file should not be edited
-// see https://nextjs.org/docs/basic-features/typescript for more information.
+// see https://nextjs.org/docs/app/building-your-application/configuring/typescript for more information.
diff --git a/examples/with-next-sitemap/next-env.d.ts b/examples/with-next-sitemap/next-env.d.ts
index 4f11a03dc6cc3..a4a7b3f5cfa2f 100644
--- a/examples/with-next-sitemap/next-env.d.ts
+++ b/examples/with-next-sitemap/next-env.d.ts
@@ -2,4 +2,4 @@
///
// NOTE: This file should not be edited
-// see https://nextjs.org/docs/basic-features/typescript for more information.
+// see https://nextjs.org/docs/pages/building-your-application/configuring/typescript for more information.
diff --git a/examples/with-next-ui/next-env.d.ts b/examples/with-next-ui/next-env.d.ts
index 4f11a03dc6cc3..a4a7b3f5cfa2f 100644
--- a/examples/with-next-ui/next-env.d.ts
+++ b/examples/with-next-ui/next-env.d.ts
@@ -2,4 +2,4 @@
///
// NOTE: This file should not be edited
-// see https://nextjs.org/docs/basic-features/typescript for more information.
+// see https://nextjs.org/docs/pages/building-your-application/configuring/typescript for more information.
diff --git a/examples/with-opentelemetry/next-env.d.ts b/examples/with-opentelemetry/next-env.d.ts
index 4f11a03dc6cc3..40c3d68096c27 100644
--- a/examples/with-opentelemetry/next-env.d.ts
+++ b/examples/with-opentelemetry/next-env.d.ts
@@ -2,4 +2,4 @@
///
// NOTE: This file should not be edited
-// see https://nextjs.org/docs/basic-features/typescript for more information.
+// see https://nextjs.org/docs/app/building-your-application/configuring/typescript for more information.
diff --git a/examples/with-particles/next-env.d.ts b/examples/with-particles/next-env.d.ts
index 4f11a03dc6cc3..a4a7b3f5cfa2f 100644
--- a/examples/with-particles/next-env.d.ts
+++ b/examples/with-particles/next-env.d.ts
@@ -2,4 +2,4 @@
///
// NOTE: This file should not be edited
-// see https://nextjs.org/docs/basic-features/typescript for more information.
+// see https://nextjs.org/docs/pages/building-your-application/configuring/typescript for more information.
diff --git a/examples/with-paste-typescript/next-env.d.ts b/examples/with-paste-typescript/next-env.d.ts
index 4f11a03dc6cc3..a4a7b3f5cfa2f 100644
--- a/examples/with-paste-typescript/next-env.d.ts
+++ b/examples/with-paste-typescript/next-env.d.ts
@@ -2,4 +2,4 @@
///
// NOTE: This file should not be edited
-// see https://nextjs.org/docs/basic-features/typescript for more information.
+// see https://nextjs.org/docs/pages/building-your-application/configuring/typescript for more information.
diff --git a/examples/with-postgres/next-env.d.ts b/examples/with-postgres/next-env.d.ts
index 4f11a03dc6cc3..a4a7b3f5cfa2f 100644
--- a/examples/with-postgres/next-env.d.ts
+++ b/examples/with-postgres/next-env.d.ts
@@ -2,4 +2,4 @@
///
// NOTE: This file should not be edited
-// see https://nextjs.org/docs/basic-features/typescript for more information.
+// see https://nextjs.org/docs/pages/building-your-application/configuring/typescript for more information.
diff --git a/examples/with-prefetching/next-env.d.ts b/examples/with-prefetching/next-env.d.ts
index 4f11a03dc6cc3..a4a7b3f5cfa2f 100644
--- a/examples/with-prefetching/next-env.d.ts
+++ b/examples/with-prefetching/next-env.d.ts
@@ -2,4 +2,4 @@
///
// NOTE: This file should not be edited
-// see https://nextjs.org/docs/basic-features/typescript for more information.
+// see https://nextjs.org/docs/pages/building-your-application/configuring/typescript for more information.
diff --git a/examples/with-react-foundation/next-env.d.ts b/examples/with-react-foundation/next-env.d.ts
index 4f11a03dc6cc3..a4a7b3f5cfa2f 100644
--- a/examples/with-react-foundation/next-env.d.ts
+++ b/examples/with-react-foundation/next-env.d.ts
@@ -2,4 +2,4 @@
///
// NOTE: This file should not be edited
-// see https://nextjs.org/docs/basic-features/typescript for more information.
+// see https://nextjs.org/docs/pages/building-your-application/configuring/typescript for more information.
diff --git a/examples/with-react-hook-form/next-env.d.ts b/examples/with-react-hook-form/next-env.d.ts
index 4f11a03dc6cc3..a4a7b3f5cfa2f 100644
--- a/examples/with-react-hook-form/next-env.d.ts
+++ b/examples/with-react-hook-form/next-env.d.ts
@@ -2,4 +2,4 @@
///
// NOTE: This file should not be edited
-// see https://nextjs.org/docs/basic-features/typescript for more information.
+// see https://nextjs.org/docs/pages/building-your-application/configuring/typescript for more information.
diff --git a/examples/with-react-intl/next-env.d.ts b/examples/with-react-intl/next-env.d.ts
index 4f11a03dc6cc3..a4a7b3f5cfa2f 100644
--- a/examples/with-react-intl/next-env.d.ts
+++ b/examples/with-react-intl/next-env.d.ts
@@ -2,4 +2,4 @@
///
// NOTE: This file should not be edited
-// see https://nextjs.org/docs/basic-features/typescript for more information.
+// see https://nextjs.org/docs/pages/building-your-application/configuring/typescript for more information.
diff --git a/examples/with-react-jss/next-env.d.ts b/examples/with-react-jss/next-env.d.ts
index 4f11a03dc6cc3..a4a7b3f5cfa2f 100644
--- a/examples/with-react-jss/next-env.d.ts
+++ b/examples/with-react-jss/next-env.d.ts
@@ -2,4 +2,4 @@
///
// NOTE: This file should not be edited
-// see https://nextjs.org/docs/basic-features/typescript for more information.
+// see https://nextjs.org/docs/pages/building-your-application/configuring/typescript for more information.
diff --git a/examples/with-react-md-typescript/next-env.d.ts b/examples/with-react-md-typescript/next-env.d.ts
index 4f11a03dc6cc3..a4a7b3f5cfa2f 100644
--- a/examples/with-react-md-typescript/next-env.d.ts
+++ b/examples/with-react-md-typescript/next-env.d.ts
@@ -2,4 +2,4 @@
///
// NOTE: This file should not be edited
-// see https://nextjs.org/docs/basic-features/typescript for more information.
+// see https://nextjs.org/docs/pages/building-your-application/configuring/typescript for more information.
diff --git a/examples/with-react-multi-carousel/next-env.d.ts b/examples/with-react-multi-carousel/next-env.d.ts
index 4f11a03dc6cc3..a4a7b3f5cfa2f 100644
--- a/examples/with-react-multi-carousel/next-env.d.ts
+++ b/examples/with-react-multi-carousel/next-env.d.ts
@@ -2,4 +2,4 @@
///
// NOTE: This file should not be edited
-// see https://nextjs.org/docs/basic-features/typescript for more information.
+// see https://nextjs.org/docs/pages/building-your-application/configuring/typescript for more information.
diff --git a/examples/with-redis/next-env.d.ts b/examples/with-redis/next-env.d.ts
index 4f11a03dc6cc3..40c3d68096c27 100644
--- a/examples/with-redis/next-env.d.ts
+++ b/examples/with-redis/next-env.d.ts
@@ -2,4 +2,4 @@
///
// NOTE: This file should not be edited
-// see https://nextjs.org/docs/basic-features/typescript for more information.
+// see https://nextjs.org/docs/app/building-your-application/configuring/typescript for more information.
diff --git a/examples/with-redux/next-env.d.ts b/examples/with-redux/next-env.d.ts
index 4f11a03dc6cc3..40c3d68096c27 100644
--- a/examples/with-redux/next-env.d.ts
+++ b/examples/with-redux/next-env.d.ts
@@ -2,4 +2,4 @@
///
// NOTE: This file should not be edited
-// see https://nextjs.org/docs/basic-features/typescript for more information.
+// see https://nextjs.org/docs/app/building-your-application/configuring/typescript for more information.
diff --git a/examples/with-reflexjs/next-env.d.ts b/examples/with-reflexjs/next-env.d.ts
index 4f11a03dc6cc3..a4a7b3f5cfa2f 100644
--- a/examples/with-reflexjs/next-env.d.ts
+++ b/examples/with-reflexjs/next-env.d.ts
@@ -2,4 +2,4 @@
///
// NOTE: This file should not be edited
-// see https://nextjs.org/docs/basic-features/typescript for more information.
+// see https://nextjs.org/docs/pages/building-your-application/configuring/typescript for more information.
diff --git a/examples/with-sentry/next-env.d.ts b/examples/with-sentry/next-env.d.ts
index 4f11a03dc6cc3..a4a7b3f5cfa2f 100644
--- a/examples/with-sentry/next-env.d.ts
+++ b/examples/with-sentry/next-env.d.ts
@@ -2,4 +2,4 @@
///
// NOTE: This file should not be edited
-// see https://nextjs.org/docs/basic-features/typescript for more information.
+// see https://nextjs.org/docs/pages/building-your-application/configuring/typescript for more information.
diff --git a/examples/with-service-worker/next-env.d.ts b/examples/with-service-worker/next-env.d.ts
index 4f11a03dc6cc3..a4a7b3f5cfa2f 100644
--- a/examples/with-service-worker/next-env.d.ts
+++ b/examples/with-service-worker/next-env.d.ts
@@ -2,4 +2,4 @@
///
// NOTE: This file should not be edited
-// see https://nextjs.org/docs/basic-features/typescript for more information.
+// see https://nextjs.org/docs/pages/building-your-application/configuring/typescript for more information.
diff --git a/examples/with-sfcc/next-env.d.ts b/examples/with-sfcc/next-env.d.ts
index 4f11a03dc6cc3..a4a7b3f5cfa2f 100644
--- a/examples/with-sfcc/next-env.d.ts
+++ b/examples/with-sfcc/next-env.d.ts
@@ -2,4 +2,4 @@
///
// NOTE: This file should not be edited
-// see https://nextjs.org/docs/basic-features/typescript for more information.
+// see https://nextjs.org/docs/pages/building-your-application/configuring/typescript for more information.
diff --git a/examples/with-slate/next-env.d.ts b/examples/with-slate/next-env.d.ts
index 4f11a03dc6cc3..40c3d68096c27 100644
--- a/examples/with-slate/next-env.d.ts
+++ b/examples/with-slate/next-env.d.ts
@@ -2,4 +2,4 @@
///
// NOTE: This file should not be edited
-// see https://nextjs.org/docs/basic-features/typescript for more information.
+// see https://nextjs.org/docs/app/building-your-application/configuring/typescript for more information.
diff --git a/examples/with-static-export/next-env.d.ts b/examples/with-static-export/next-env.d.ts
index 4f11a03dc6cc3..40c3d68096c27 100644
--- a/examples/with-static-export/next-env.d.ts
+++ b/examples/with-static-export/next-env.d.ts
@@ -2,4 +2,4 @@
///
// NOTE: This file should not be edited
-// see https://nextjs.org/docs/basic-features/typescript for more information.
+// see https://nextjs.org/docs/app/building-your-application/configuring/typescript for more information.
diff --git a/examples/with-stitches/next-env.d.ts b/examples/with-stitches/next-env.d.ts
index 4f11a03dc6cc3..a4a7b3f5cfa2f 100644
--- a/examples/with-stitches/next-env.d.ts
+++ b/examples/with-stitches/next-env.d.ts
@@ -2,4 +2,4 @@
///
// NOTE: This file should not be edited
-// see https://nextjs.org/docs/basic-features/typescript for more information.
+// see https://nextjs.org/docs/pages/building-your-application/configuring/typescript for more information.
diff --git a/examples/with-storybook-styled-jsx-scss/next-env.d.ts b/examples/with-storybook-styled-jsx-scss/next-env.d.ts
index 4f11a03dc6cc3..a4a7b3f5cfa2f 100644
--- a/examples/with-storybook-styled-jsx-scss/next-env.d.ts
+++ b/examples/with-storybook-styled-jsx-scss/next-env.d.ts
@@ -2,4 +2,4 @@
///
// NOTE: This file should not be edited
-// see https://nextjs.org/docs/basic-features/typescript for more information.
+// see https://nextjs.org/docs/pages/building-your-application/configuring/typescript for more information.
diff --git a/examples/with-stripe-typescript/next-env.d.ts b/examples/with-stripe-typescript/next-env.d.ts
index 4f11a03dc6cc3..40c3d68096c27 100644
--- a/examples/with-stripe-typescript/next-env.d.ts
+++ b/examples/with-stripe-typescript/next-env.d.ts
@@ -2,4 +2,4 @@
///
// NOTE: This file should not be edited
-// see https://nextjs.org/docs/basic-features/typescript for more information.
+// see https://nextjs.org/docs/app/building-your-application/configuring/typescript for more information.
diff --git a/examples/with-styled-components-babel/next-env.d.ts b/examples/with-styled-components-babel/next-env.d.ts
index 4f11a03dc6cc3..a4a7b3f5cfa2f 100644
--- a/examples/with-styled-components-babel/next-env.d.ts
+++ b/examples/with-styled-components-babel/next-env.d.ts
@@ -2,4 +2,4 @@
///
// NOTE: This file should not be edited
-// see https://nextjs.org/docs/basic-features/typescript for more information.
+// see https://nextjs.org/docs/pages/building-your-application/configuring/typescript for more information.
diff --git a/examples/with-styled-components-rtl/next-env.d.ts b/examples/with-styled-components-rtl/next-env.d.ts
index 4f11a03dc6cc3..a4a7b3f5cfa2f 100644
--- a/examples/with-styled-components-rtl/next-env.d.ts
+++ b/examples/with-styled-components-rtl/next-env.d.ts
@@ -2,4 +2,4 @@
///
// NOTE: This file should not be edited
-// see https://nextjs.org/docs/basic-features/typescript for more information.
+// see https://nextjs.org/docs/pages/building-your-application/configuring/typescript for more information.
diff --git a/examples/with-styled-components/next-env.d.ts b/examples/with-styled-components/next-env.d.ts
index 4f11a03dc6cc3..a4a7b3f5cfa2f 100644
--- a/examples/with-styled-components/next-env.d.ts
+++ b/examples/with-styled-components/next-env.d.ts
@@ -2,4 +2,4 @@
///
// NOTE: This file should not be edited
-// see https://nextjs.org/docs/basic-features/typescript for more information.
+// see https://nextjs.org/docs/pages/building-your-application/configuring/typescript for more information.
diff --git a/examples/with-styled-jsx-plugins/next-env.d.ts b/examples/with-styled-jsx-plugins/next-env.d.ts
index 4f11a03dc6cc3..a4a7b3f5cfa2f 100644
--- a/examples/with-styled-jsx-plugins/next-env.d.ts
+++ b/examples/with-styled-jsx-plugins/next-env.d.ts
@@ -2,4 +2,4 @@
///
// NOTE: This file should not be edited
-// see https://nextjs.org/docs/basic-features/typescript for more information.
+// see https://nextjs.org/docs/pages/building-your-application/configuring/typescript for more information.
diff --git a/examples/with-styled-jsx-scss/next-env.d.ts b/examples/with-styled-jsx-scss/next-env.d.ts
index 4f11a03dc6cc3..a4a7b3f5cfa2f 100644
--- a/examples/with-styled-jsx-scss/next-env.d.ts
+++ b/examples/with-styled-jsx-scss/next-env.d.ts
@@ -2,4 +2,4 @@
///
// NOTE: This file should not be edited
-// see https://nextjs.org/docs/basic-features/typescript for more information.
+// see https://nextjs.org/docs/pages/building-your-application/configuring/typescript for more information.
diff --git a/examples/with-styled-jsx/next-env.d.ts b/examples/with-styled-jsx/next-env.d.ts
index 4f11a03dc6cc3..a4a7b3f5cfa2f 100644
--- a/examples/with-styled-jsx/next-env.d.ts
+++ b/examples/with-styled-jsx/next-env.d.ts
@@ -2,4 +2,4 @@
///
// NOTE: This file should not be edited
-// see https://nextjs.org/docs/basic-features/typescript for more information.
+// see https://nextjs.org/docs/pages/building-your-application/configuring/typescript for more information.
diff --git a/examples/with-temporal/next-env.d.ts b/examples/with-temporal/next-env.d.ts
index 4f11a03dc6cc3..a4a7b3f5cfa2f 100644
--- a/examples/with-temporal/next-env.d.ts
+++ b/examples/with-temporal/next-env.d.ts
@@ -2,4 +2,4 @@
///
// NOTE: This file should not be edited
-// see https://nextjs.org/docs/basic-features/typescript for more information.
+// see https://nextjs.org/docs/pages/building-your-application/configuring/typescript for more information.
diff --git a/examples/with-tigris/next-env.d.ts b/examples/with-tigris/next-env.d.ts
index 4f11a03dc6cc3..a4a7b3f5cfa2f 100644
--- a/examples/with-tigris/next-env.d.ts
+++ b/examples/with-tigris/next-env.d.ts
@@ -2,4 +2,4 @@
///
// NOTE: This file should not be edited
-// see https://nextjs.org/docs/basic-features/typescript for more information.
+// see https://nextjs.org/docs/pages/building-your-application/configuring/typescript for more information.
diff --git a/examples/with-turbopack/next-env.d.ts b/examples/with-turbopack/next-env.d.ts
index 4f11a03dc6cc3..40c3d68096c27 100644
--- a/examples/with-turbopack/next-env.d.ts
+++ b/examples/with-turbopack/next-env.d.ts
@@ -2,4 +2,4 @@
///
// NOTE: This file should not be edited
-// see https://nextjs.org/docs/basic-features/typescript for more information.
+// see https://nextjs.org/docs/app/building-your-application/configuring/typescript for more information.
diff --git a/examples/with-typescript-graphql/next-env.d.ts b/examples/with-typescript-graphql/next-env.d.ts
index 4f11a03dc6cc3..a4a7b3f5cfa2f 100644
--- a/examples/with-typescript-graphql/next-env.d.ts
+++ b/examples/with-typescript-graphql/next-env.d.ts
@@ -2,4 +2,4 @@
///
// NOTE: This file should not be edited
-// see https://nextjs.org/docs/basic-features/typescript for more information.
+// see https://nextjs.org/docs/pages/building-your-application/configuring/typescript for more information.
diff --git a/examples/with-typescript-types/next-env.d.ts b/examples/with-typescript-types/next-env.d.ts
index 4f11a03dc6cc3..a4a7b3f5cfa2f 100644
--- a/examples/with-typescript-types/next-env.d.ts
+++ b/examples/with-typescript-types/next-env.d.ts
@@ -2,4 +2,4 @@
///
// NOTE: This file should not be edited
-// see https://nextjs.org/docs/basic-features/typescript for more information.
+// see https://nextjs.org/docs/pages/building-your-application/configuring/typescript for more information.
diff --git a/examples/with-typescript/next-env.d.ts b/examples/with-typescript/next-env.d.ts
index 4f11a03dc6cc3..a4a7b3f5cfa2f 100644
--- a/examples/with-typescript/next-env.d.ts
+++ b/examples/with-typescript/next-env.d.ts
@@ -2,4 +2,4 @@
///
// NOTE: This file should not be edited
-// see https://nextjs.org/docs/basic-features/typescript for more information.
+// see https://nextjs.org/docs/pages/building-your-application/configuring/typescript for more information.
diff --git a/examples/with-unsplash/next-env.d.ts b/examples/with-unsplash/next-env.d.ts
index 4f11a03dc6cc3..a4a7b3f5cfa2f 100644
--- a/examples/with-unsplash/next-env.d.ts
+++ b/examples/with-unsplash/next-env.d.ts
@@ -2,4 +2,4 @@
///
// NOTE: This file should not be edited
-// see https://nextjs.org/docs/basic-features/typescript for more information.
+// see https://nextjs.org/docs/pages/building-your-application/configuring/typescript for more information.
diff --git a/examples/with-vanilla-extract/next-env.d.ts b/examples/with-vanilla-extract/next-env.d.ts
index 4f11a03dc6cc3..40c3d68096c27 100644
--- a/examples/with-vanilla-extract/next-env.d.ts
+++ b/examples/with-vanilla-extract/next-env.d.ts
@@ -2,4 +2,4 @@
///
// NOTE: This file should not be edited
-// see https://nextjs.org/docs/basic-features/typescript for more information.
+// see https://nextjs.org/docs/app/building-your-application/configuring/typescript for more information.
diff --git a/examples/with-vercel-fetch/next-env.d.ts b/examples/with-vercel-fetch/next-env.d.ts
index 4f11a03dc6cc3..a4a7b3f5cfa2f 100644
--- a/examples/with-vercel-fetch/next-env.d.ts
+++ b/examples/with-vercel-fetch/next-env.d.ts
@@ -2,4 +2,4 @@
///
// NOTE: This file should not be edited
-// see https://nextjs.org/docs/basic-features/typescript for more information.
+// see https://nextjs.org/docs/pages/building-your-application/configuring/typescript for more information.
diff --git a/examples/with-videojs/next-env.d.ts b/examples/with-videojs/next-env.d.ts
index 4f11a03dc6cc3..a4a7b3f5cfa2f 100644
--- a/examples/with-videojs/next-env.d.ts
+++ b/examples/with-videojs/next-env.d.ts
@@ -2,4 +2,4 @@
///
// NOTE: This file should not be edited
-// see https://nextjs.org/docs/basic-features/typescript for more information.
+// see https://nextjs.org/docs/pages/building-your-application/configuring/typescript for more information.
diff --git a/examples/with-vitest/next-env.d.ts b/examples/with-vitest/next-env.d.ts
index 4f11a03dc6cc3..40c3d68096c27 100644
--- a/examples/with-vitest/next-env.d.ts
+++ b/examples/with-vitest/next-env.d.ts
@@ -2,4 +2,4 @@
///
// NOTE: This file should not be edited
-// see https://nextjs.org/docs/basic-features/typescript for more information.
+// see https://nextjs.org/docs/app/building-your-application/configuring/typescript for more information.
diff --git a/examples/with-web-worker/next-env.d.ts b/examples/with-web-worker/next-env.d.ts
index 4f11a03dc6cc3..a4a7b3f5cfa2f 100644
--- a/examples/with-web-worker/next-env.d.ts
+++ b/examples/with-web-worker/next-env.d.ts
@@ -2,4 +2,4 @@
///
// NOTE: This file should not be edited
-// see https://nextjs.org/docs/basic-features/typescript for more information.
+// see https://nextjs.org/docs/pages/building-your-application/configuring/typescript for more information.
diff --git a/examples/with-webassembly/next-env.d.ts b/examples/with-webassembly/next-env.d.ts
index 4f11a03dc6cc3..40c3d68096c27 100644
--- a/examples/with-webassembly/next-env.d.ts
+++ b/examples/with-webassembly/next-env.d.ts
@@ -2,4 +2,4 @@
///
// NOTE: This file should not be edited
-// see https://nextjs.org/docs/basic-features/typescript for more information.
+// see https://nextjs.org/docs/app/building-your-application/configuring/typescript for more information.
diff --git a/examples/with-windicss/next-env.d.ts b/examples/with-windicss/next-env.d.ts
index 4f11a03dc6cc3..a4a7b3f5cfa2f 100644
--- a/examples/with-windicss/next-env.d.ts
+++ b/examples/with-windicss/next-env.d.ts
@@ -2,4 +2,4 @@
///
// NOTE: This file should not be edited
-// see https://nextjs.org/docs/basic-features/typescript for more information.
+// see https://nextjs.org/docs/pages/building-your-application/configuring/typescript for more information.
diff --git a/examples/with-xata/next-env.d.ts b/examples/with-xata/next-env.d.ts
index 4f11a03dc6cc3..a4a7b3f5cfa2f 100644
--- a/examples/with-xata/next-env.d.ts
+++ b/examples/with-xata/next-env.d.ts
@@ -2,4 +2,4 @@
///
// NOTE: This file should not be edited
-// see https://nextjs.org/docs/basic-features/typescript for more information.
+// see https://nextjs.org/docs/pages/building-your-application/configuring/typescript for more information.
diff --git a/examples/with-xstate/next-env.d.ts b/examples/with-xstate/next-env.d.ts
index 4f11a03dc6cc3..a4a7b3f5cfa2f 100644
--- a/examples/with-xstate/next-env.d.ts
+++ b/examples/with-xstate/next-env.d.ts
@@ -2,4 +2,4 @@
///
// NOTE: This file should not be edited
-// see https://nextjs.org/docs/basic-features/typescript for more information.
+// see https://nextjs.org/docs/pages/building-your-application/configuring/typescript for more information.
diff --git a/examples/with-yoga/next-env.d.ts b/examples/with-yoga/next-env.d.ts
index 4f11a03dc6cc3..a4a7b3f5cfa2f 100644
--- a/examples/with-yoga/next-env.d.ts
+++ b/examples/with-yoga/next-env.d.ts
@@ -2,4 +2,4 @@
///
// NOTE: This file should not be edited
-// see https://nextjs.org/docs/basic-features/typescript for more information.
+// see https://nextjs.org/docs/pages/building-your-application/configuring/typescript for more information.
diff --git a/examples/with-zustand/next-env.d.ts b/examples/with-zustand/next-env.d.ts
index 4f11a03dc6cc3..a4a7b3f5cfa2f 100644
--- a/examples/with-zustand/next-env.d.ts
+++ b/examples/with-zustand/next-env.d.ts
@@ -2,4 +2,4 @@
///
// NOTE: This file should not be edited
-// see https://nextjs.org/docs/basic-features/typescript for more information.
+// see https://nextjs.org/docs/pages/building-your-application/configuring/typescript for more information.
From 55bbaf39417ff633edfcc3ef1f4ba59ecff84a74 Mon Sep 17 00:00:00 2001
From: Matvey Ryabchikov <35634442+ronanru@users.noreply.github.com>
Date: Fri, 9 Aug 2024 12:27:34 +0300
Subject: [PATCH 04/10] update next-env.d.ts in tests
---
test/integration/typescript-app-type-declarations/next-env.d.ts | 2 +-
test/production/typescript-basic/app/next-env.d.ts | 2 +-
test/production/typescript-basic/typechecking/next-env.d.ts | 2 +-
3 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/test/integration/typescript-app-type-declarations/next-env.d.ts b/test/integration/typescript-app-type-declarations/next-env.d.ts
index 4f11a03dc6cc3..157836b0537b5 100644
--- a/test/integration/typescript-app-type-declarations/next-env.d.ts
+++ b/test/integration/typescript-app-type-declarations/next-env.d.ts
@@ -2,4 +2,4 @@
///
// NOTE: This file should not be edited
-// see https://nextjs.org/docs/basic-features/typescript for more information.
+// see https://nextjs.org/docs/pages/building-your-application/configuring/typescript for mo for more information.
diff --git a/test/production/typescript-basic/app/next-env.d.ts b/test/production/typescript-basic/app/next-env.d.ts
index 4f11a03dc6cc3..a4a7b3f5cfa2f 100644
--- a/test/production/typescript-basic/app/next-env.d.ts
+++ b/test/production/typescript-basic/app/next-env.d.ts
@@ -2,4 +2,4 @@
///
// NOTE: This file should not be edited
-// see https://nextjs.org/docs/basic-features/typescript for more information.
+// see https://nextjs.org/docs/pages/building-your-application/configuring/typescript for more information.
diff --git a/test/production/typescript-basic/typechecking/next-env.d.ts b/test/production/typescript-basic/typechecking/next-env.d.ts
index 4f11a03dc6cc3..a4a7b3f5cfa2f 100644
--- a/test/production/typescript-basic/typechecking/next-env.d.ts
+++ b/test/production/typescript-basic/typechecking/next-env.d.ts
@@ -2,4 +2,4 @@
///
// NOTE: This file should not be edited
-// see https://nextjs.org/docs/basic-features/typescript for more information.
+// see https://nextjs.org/docs/pages/building-your-application/configuring/typescript for more information.
From 29a23818561eb51c40ee079b8e4c78891a1fd143 Mon Sep 17 00:00:00 2001
From: Matvey Ryabchikov <35634442+ronanru@users.noreply.github.com>
Date: Fri, 9 Aug 2024 23:33:01 +0300
Subject: [PATCH 05/10] Revert "update link in next-env.d.ts in all examples"
This reverts commit e64a4f125b0765f378b3ee9b7bc53c15019523ed.
---
examples/active-class-name/next-env.d.ts | 2 +-
examples/amp/next-env.d.ts | 2 +-
examples/analyze-bundles/next-env.d.ts | 2 +-
examples/api-routes-apollo-server-and-client-auth/next-env.d.ts | 2 +-
examples/api-routes-apollo-server-and-client/next-env.d.ts | 2 +-
examples/api-routes-apollo-server/next-env.d.ts | 2 +-
examples/api-routes-cors/next-env.d.ts | 2 +-
examples/api-routes-graphql/next-env.d.ts | 2 +-
examples/api-routes-middleware/next-env.d.ts | 2 +-
examples/api-routes-rate-limit/next-env.d.ts | 2 +-
examples/api-routes-rest/next-env.d.ts | 2 +-
examples/api-routes/next-env.d.ts | 2 +-
examples/app-dir-i18n-routing/next-env.d.ts | 2 +-
examples/app-dir-mdx/next-env.d.ts | 2 +-
examples/auth0/next-env.d.ts | 2 +-
examples/basic-css/next-env.d.ts | 2 +-
examples/basic-export/next-env.d.ts | 2 +-
examples/blog-starter/next-env.d.ts | 2 +-
examples/blog-with-comment/next-env.d.ts | 2 +-
examples/blog/next-env.d.ts | 2 +-
examples/catch-all-routes/next-env.d.ts | 2 +-
examples/cloudflare-turnstile/next-env.d.ts | 2 +-
examples/cms-agilitycms/next-env.d.ts | 2 +-
examples/cms-cosmic/next-env.d.ts | 2 +-
examples/cms-dotcms/next-env.d.ts | 2 +-
examples/cms-enterspeed/next-env.d.ts | 2 +-
examples/cms-kontent-ai/next-env.d.ts | 2 +-
examples/cms-makeswift/next-env.d.ts | 2 +-
examples/cms-payload/next-env.d.ts | 2 +-
examples/cms-plasmic/next-env.d.ts | 2 +-
examples/cms-prismic/next-env.d.ts | 2 +-
examples/cms-sitecore-xmcloud/next-env.d.ts | 2 +-
examples/cms-sitefinity/next-env.d.ts | 2 +-
examples/cms-webiny/next-env.d.ts | 2 +-
examples/cms-wordpress/next-env.d.ts | 2 +-
examples/convex/next-env.d.ts | 2 +-
examples/custom-routes-proxying/next-env.d.ts | 2 +-
examples/custom-server/next-env.d.ts | 2 +-
examples/dynamic-routing/next-env.d.ts | 2 +-
examples/environment-variables/next-env.d.ts | 2 +-
examples/github-pages/next-env.d.ts | 2 +-
examples/head-elements/next-env.d.ts | 2 +-
examples/headers/next-env.d.ts | 2 +-
examples/i18n-routing/next-env.d.ts | 2 +-
examples/image-component/next-env.d.ts | 2 +-
examples/image-legacy-component/next-env.d.ts | 2 +-
examples/layout-component/next-env.d.ts | 2 +-
examples/markdoc/next-env.d.ts | 2 +-
examples/middleware-matcher/next-env.d.ts | 2 +-
examples/middleware/next-env.d.ts | 2 +-
examples/modularize-imports/next-env.d.ts | 2 +-
examples/nested-components/next-env.d.ts | 2 +-
examples/next-css/next-env.d.ts | 2 +-
examples/next-forms/next-env.d.ts | 2 +-
examples/next-offline/next-env.d.ts | 2 +-
examples/progressive-web-app/next-env.d.ts | 2 +-
examples/radix-ui/next-env.d.ts | 2 +-
examples/react-remove-properties/next-env.d.ts | 2 +-
examples/redirects/next-env.d.ts | 2 +-
examples/remove-console/next-env.d.ts | 2 +-
examples/reproduction-template/next-env.d.ts | 2 +-
examples/rewrites/next-env.d.ts | 2 +-
examples/script-component/next-env.d.ts | 2 +-
examples/ssr-caching/next-env.d.ts | 2 +-
examples/svg-components/next-env.d.ts | 2 +-
examples/with-ably/next-env.d.ts | 2 +-
examples/with-absolute-imports/next-env.d.ts | 2 +-
examples/with-algolia-react-instantsearch/next-env.d.ts | 2 +-
examples/with-ant-design/next-env.d.ts | 2 +-
examples/with-apivideo/next-env.d.ts | 2 +-
examples/with-axiom/next-env.d.ts | 2 +-
examples/with-chakra-ui/next-env.d.ts | 2 +-
examples/with-cloudinary/next-env.d.ts | 2 +-
examples/with-context-api/next-env.d.ts | 2 +-
examples/with-cookies-next/next-env.d.ts | 2 +-
examples/with-cssed/next-env.d.ts | 2 +-
examples/with-cxs/next-env.d.ts | 2 +-
examples/with-cypress/next-env.d.ts | 2 +-
examples/with-dynamic-import/next-env.d.ts | 2 +-
examples/with-edgedb/next-env.d.ts | 2 +-
examples/with-expo-typescript/next-env.d.ts | 2 +-
examples/with-fingerprintjs-pro/next-env.d.ts | 2 +-
examples/with-goober/next-env.d.ts | 2 +-
examples/with-grafbase/next-env.d.ts | 2 +-
examples/with-graphql-gateway/next-env.d.ts | 2 +-
examples/with-gsap/next-env.d.ts | 2 +-
examples/with-ionic-typescript/next-env.d.ts | 2 +-
examples/with-jest-babel/next-env.d.ts | 2 +-
examples/with-jest/next-env.d.ts | 2 +-
examples/with-jotai/next-env.d.ts | 2 +-
examples/with-linaria/next-env.d.ts | 2 +-
examples/with-mantine/next-env.d.ts | 2 +-
examples/with-mobx-state-tree/next-env.d.ts | 2 +-
examples/with-mongodb-mongoose/next-env.d.ts | 2 +-
examples/with-mongodb/next-env.d.ts | 2 +-
examples/with-mqtt-js/next-env.d.ts | 2 +-
examples/with-msw/next-env.d.ts | 2 +-
examples/with-mux-video/next-env.d.ts | 2 +-
examples/with-next-sitemap/next-env.d.ts | 2 +-
examples/with-next-ui/next-env.d.ts | 2 +-
examples/with-opentelemetry/next-env.d.ts | 2 +-
examples/with-particles/next-env.d.ts | 2 +-
examples/with-paste-typescript/next-env.d.ts | 2 +-
examples/with-postgres/next-env.d.ts | 2 +-
examples/with-prefetching/next-env.d.ts | 2 +-
examples/with-react-foundation/next-env.d.ts | 2 +-
examples/with-react-hook-form/next-env.d.ts | 2 +-
examples/with-react-intl/next-env.d.ts | 2 +-
examples/with-react-jss/next-env.d.ts | 2 +-
examples/with-react-md-typescript/next-env.d.ts | 2 +-
examples/with-react-multi-carousel/next-env.d.ts | 2 +-
examples/with-redis/next-env.d.ts | 2 +-
examples/with-redux/next-env.d.ts | 2 +-
examples/with-reflexjs/next-env.d.ts | 2 +-
examples/with-sentry/next-env.d.ts | 2 +-
examples/with-service-worker/next-env.d.ts | 2 +-
examples/with-sfcc/next-env.d.ts | 2 +-
examples/with-slate/next-env.d.ts | 2 +-
examples/with-static-export/next-env.d.ts | 2 +-
examples/with-stitches/next-env.d.ts | 2 +-
examples/with-storybook-styled-jsx-scss/next-env.d.ts | 2 +-
examples/with-stripe-typescript/next-env.d.ts | 2 +-
examples/with-styled-components-babel/next-env.d.ts | 2 +-
examples/with-styled-components-rtl/next-env.d.ts | 2 +-
examples/with-styled-components/next-env.d.ts | 2 +-
examples/with-styled-jsx-plugins/next-env.d.ts | 2 +-
examples/with-styled-jsx-scss/next-env.d.ts | 2 +-
examples/with-styled-jsx/next-env.d.ts | 2 +-
examples/with-temporal/next-env.d.ts | 2 +-
examples/with-tigris/next-env.d.ts | 2 +-
examples/with-turbopack/next-env.d.ts | 2 +-
examples/with-typescript-graphql/next-env.d.ts | 2 +-
examples/with-typescript-types/next-env.d.ts | 2 +-
examples/with-typescript/next-env.d.ts | 2 +-
examples/with-unsplash/next-env.d.ts | 2 +-
examples/with-vanilla-extract/next-env.d.ts | 2 +-
examples/with-vercel-fetch/next-env.d.ts | 2 +-
examples/with-videojs/next-env.d.ts | 2 +-
examples/with-vitest/next-env.d.ts | 2 +-
examples/with-web-worker/next-env.d.ts | 2 +-
examples/with-webassembly/next-env.d.ts | 2 +-
examples/with-windicss/next-env.d.ts | 2 +-
examples/with-xata/next-env.d.ts | 2 +-
examples/with-xstate/next-env.d.ts | 2 +-
examples/with-yoga/next-env.d.ts | 2 +-
examples/with-zustand/next-env.d.ts | 2 +-
146 files changed, 146 insertions(+), 146 deletions(-)
diff --git a/examples/active-class-name/next-env.d.ts b/examples/active-class-name/next-env.d.ts
index 40c3d68096c27..4f11a03dc6cc3 100644
--- a/examples/active-class-name/next-env.d.ts
+++ b/examples/active-class-name/next-env.d.ts
@@ -2,4 +2,4 @@
///
// NOTE: This file should not be edited
-// see https://nextjs.org/docs/app/building-your-application/configuring/typescript for more information.
+// see https://nextjs.org/docs/basic-features/typescript for more information.
diff --git a/examples/amp/next-env.d.ts b/examples/amp/next-env.d.ts
index a4a7b3f5cfa2f..4f11a03dc6cc3 100644
--- a/examples/amp/next-env.d.ts
+++ b/examples/amp/next-env.d.ts
@@ -2,4 +2,4 @@
///
// NOTE: This file should not be edited
-// see https://nextjs.org/docs/pages/building-your-application/configuring/typescript for more information.
+// see https://nextjs.org/docs/basic-features/typescript for more information.
diff --git a/examples/analyze-bundles/next-env.d.ts b/examples/analyze-bundles/next-env.d.ts
index 40c3d68096c27..4f11a03dc6cc3 100644
--- a/examples/analyze-bundles/next-env.d.ts
+++ b/examples/analyze-bundles/next-env.d.ts
@@ -2,4 +2,4 @@
///
// NOTE: This file should not be edited
-// see https://nextjs.org/docs/app/building-your-application/configuring/typescript for more information.
+// see https://nextjs.org/docs/basic-features/typescript for more information.
diff --git a/examples/api-routes-apollo-server-and-client-auth/next-env.d.ts b/examples/api-routes-apollo-server-and-client-auth/next-env.d.ts
index a4a7b3f5cfa2f..4f11a03dc6cc3 100644
--- a/examples/api-routes-apollo-server-and-client-auth/next-env.d.ts
+++ b/examples/api-routes-apollo-server-and-client-auth/next-env.d.ts
@@ -2,4 +2,4 @@
///
// NOTE: This file should not be edited
-// see https://nextjs.org/docs/pages/building-your-application/configuring/typescript for more information.
+// see https://nextjs.org/docs/basic-features/typescript for more information.
diff --git a/examples/api-routes-apollo-server-and-client/next-env.d.ts b/examples/api-routes-apollo-server-and-client/next-env.d.ts
index a4a7b3f5cfa2f..4f11a03dc6cc3 100644
--- a/examples/api-routes-apollo-server-and-client/next-env.d.ts
+++ b/examples/api-routes-apollo-server-and-client/next-env.d.ts
@@ -2,4 +2,4 @@
///
// NOTE: This file should not be edited
-// see https://nextjs.org/docs/pages/building-your-application/configuring/typescript for more information.
+// see https://nextjs.org/docs/basic-features/typescript for more information.
diff --git a/examples/api-routes-apollo-server/next-env.d.ts b/examples/api-routes-apollo-server/next-env.d.ts
index a4a7b3f5cfa2f..4f11a03dc6cc3 100644
--- a/examples/api-routes-apollo-server/next-env.d.ts
+++ b/examples/api-routes-apollo-server/next-env.d.ts
@@ -2,4 +2,4 @@
///
// NOTE: This file should not be edited
-// see https://nextjs.org/docs/pages/building-your-application/configuring/typescript for more information.
+// see https://nextjs.org/docs/basic-features/typescript for more information.
diff --git a/examples/api-routes-cors/next-env.d.ts b/examples/api-routes-cors/next-env.d.ts
index a4a7b3f5cfa2f..4f11a03dc6cc3 100644
--- a/examples/api-routes-cors/next-env.d.ts
+++ b/examples/api-routes-cors/next-env.d.ts
@@ -2,4 +2,4 @@
///
// NOTE: This file should not be edited
-// see https://nextjs.org/docs/pages/building-your-application/configuring/typescript for more information.
+// see https://nextjs.org/docs/basic-features/typescript for more information.
diff --git a/examples/api-routes-graphql/next-env.d.ts b/examples/api-routes-graphql/next-env.d.ts
index a4a7b3f5cfa2f..4f11a03dc6cc3 100644
--- a/examples/api-routes-graphql/next-env.d.ts
+++ b/examples/api-routes-graphql/next-env.d.ts
@@ -2,4 +2,4 @@
///
// NOTE: This file should not be edited
-// see https://nextjs.org/docs/pages/building-your-application/configuring/typescript for more information.
+// see https://nextjs.org/docs/basic-features/typescript for more information.
diff --git a/examples/api-routes-middleware/next-env.d.ts b/examples/api-routes-middleware/next-env.d.ts
index a4a7b3f5cfa2f..4f11a03dc6cc3 100644
--- a/examples/api-routes-middleware/next-env.d.ts
+++ b/examples/api-routes-middleware/next-env.d.ts
@@ -2,4 +2,4 @@
///
// NOTE: This file should not be edited
-// see https://nextjs.org/docs/pages/building-your-application/configuring/typescript for more information.
+// see https://nextjs.org/docs/basic-features/typescript for more information.
diff --git a/examples/api-routes-rate-limit/next-env.d.ts b/examples/api-routes-rate-limit/next-env.d.ts
index a4a7b3f5cfa2f..4f11a03dc6cc3 100644
--- a/examples/api-routes-rate-limit/next-env.d.ts
+++ b/examples/api-routes-rate-limit/next-env.d.ts
@@ -2,4 +2,4 @@
///
// NOTE: This file should not be edited
-// see https://nextjs.org/docs/pages/building-your-application/configuring/typescript for more information.
+// see https://nextjs.org/docs/basic-features/typescript for more information.
diff --git a/examples/api-routes-rest/next-env.d.ts b/examples/api-routes-rest/next-env.d.ts
index a4a7b3f5cfa2f..4f11a03dc6cc3 100644
--- a/examples/api-routes-rest/next-env.d.ts
+++ b/examples/api-routes-rest/next-env.d.ts
@@ -2,4 +2,4 @@
///
// NOTE: This file should not be edited
-// see https://nextjs.org/docs/pages/building-your-application/configuring/typescript for more information.
+// see https://nextjs.org/docs/basic-features/typescript for more information.
diff --git a/examples/api-routes/next-env.d.ts b/examples/api-routes/next-env.d.ts
index a4a7b3f5cfa2f..4f11a03dc6cc3 100644
--- a/examples/api-routes/next-env.d.ts
+++ b/examples/api-routes/next-env.d.ts
@@ -2,4 +2,4 @@
///
// NOTE: This file should not be edited
-// see https://nextjs.org/docs/pages/building-your-application/configuring/typescript for more information.
+// see https://nextjs.org/docs/basic-features/typescript for more information.
diff --git a/examples/app-dir-i18n-routing/next-env.d.ts b/examples/app-dir-i18n-routing/next-env.d.ts
index 40c3d68096c27..4f11a03dc6cc3 100644
--- a/examples/app-dir-i18n-routing/next-env.d.ts
+++ b/examples/app-dir-i18n-routing/next-env.d.ts
@@ -2,4 +2,4 @@
///
// NOTE: This file should not be edited
-// see https://nextjs.org/docs/app/building-your-application/configuring/typescript for more information.
+// see https://nextjs.org/docs/basic-features/typescript for more information.
diff --git a/examples/app-dir-mdx/next-env.d.ts b/examples/app-dir-mdx/next-env.d.ts
index 40c3d68096c27..4f11a03dc6cc3 100644
--- a/examples/app-dir-mdx/next-env.d.ts
+++ b/examples/app-dir-mdx/next-env.d.ts
@@ -2,4 +2,4 @@
///
// NOTE: This file should not be edited
-// see https://nextjs.org/docs/app/building-your-application/configuring/typescript for more information.
+// see https://nextjs.org/docs/basic-features/typescript for more information.
diff --git a/examples/auth0/next-env.d.ts b/examples/auth0/next-env.d.ts
index a4a7b3f5cfa2f..4f11a03dc6cc3 100644
--- a/examples/auth0/next-env.d.ts
+++ b/examples/auth0/next-env.d.ts
@@ -2,4 +2,4 @@
///
// NOTE: This file should not be edited
-// see https://nextjs.org/docs/pages/building-your-application/configuring/typescript for more information.
+// see https://nextjs.org/docs/basic-features/typescript for more information.
diff --git a/examples/basic-css/next-env.d.ts b/examples/basic-css/next-env.d.ts
index 40c3d68096c27..4f11a03dc6cc3 100644
--- a/examples/basic-css/next-env.d.ts
+++ b/examples/basic-css/next-env.d.ts
@@ -2,4 +2,4 @@
///
// NOTE: This file should not be edited
-// see https://nextjs.org/docs/app/building-your-application/configuring/typescript for more information.
+// see https://nextjs.org/docs/basic-features/typescript for more information.
diff --git a/examples/basic-export/next-env.d.ts b/examples/basic-export/next-env.d.ts
index 40c3d68096c27..4f11a03dc6cc3 100644
--- a/examples/basic-export/next-env.d.ts
+++ b/examples/basic-export/next-env.d.ts
@@ -2,4 +2,4 @@
///
// NOTE: This file should not be edited
-// see https://nextjs.org/docs/app/building-your-application/configuring/typescript for more information.
+// see https://nextjs.org/docs/basic-features/typescript for more information.
diff --git a/examples/blog-starter/next-env.d.ts b/examples/blog-starter/next-env.d.ts
index a4a7b3f5cfa2f..4f11a03dc6cc3 100644
--- a/examples/blog-starter/next-env.d.ts
+++ b/examples/blog-starter/next-env.d.ts
@@ -2,4 +2,4 @@
///
// NOTE: This file should not be edited
-// see https://nextjs.org/docs/pages/building-your-application/configuring/typescript for more information.
+// see https://nextjs.org/docs/basic-features/typescript for more information.
diff --git a/examples/blog-with-comment/next-env.d.ts b/examples/blog-with-comment/next-env.d.ts
index a4a7b3f5cfa2f..4f11a03dc6cc3 100644
--- a/examples/blog-with-comment/next-env.d.ts
+++ b/examples/blog-with-comment/next-env.d.ts
@@ -2,4 +2,4 @@
///
// NOTE: This file should not be edited
-// see https://nextjs.org/docs/pages/building-your-application/configuring/typescript for more information.
+// see https://nextjs.org/docs/basic-features/typescript for more information.
diff --git a/examples/blog/next-env.d.ts b/examples/blog/next-env.d.ts
index a4a7b3f5cfa2f..4f11a03dc6cc3 100644
--- a/examples/blog/next-env.d.ts
+++ b/examples/blog/next-env.d.ts
@@ -2,4 +2,4 @@
///
// NOTE: This file should not be edited
-// see https://nextjs.org/docs/pages/building-your-application/configuring/typescript for more information.
+// see https://nextjs.org/docs/basic-features/typescript for more information.
diff --git a/examples/catch-all-routes/next-env.d.ts b/examples/catch-all-routes/next-env.d.ts
index 40c3d68096c27..4f11a03dc6cc3 100644
--- a/examples/catch-all-routes/next-env.d.ts
+++ b/examples/catch-all-routes/next-env.d.ts
@@ -2,4 +2,4 @@
///
// NOTE: This file should not be edited
-// see https://nextjs.org/docs/app/building-your-application/configuring/typescript for more information.
+// see https://nextjs.org/docs/basic-features/typescript for more information.
diff --git a/examples/cloudflare-turnstile/next-env.d.ts b/examples/cloudflare-turnstile/next-env.d.ts
index a4a7b3f5cfa2f..4f11a03dc6cc3 100644
--- a/examples/cloudflare-turnstile/next-env.d.ts
+++ b/examples/cloudflare-turnstile/next-env.d.ts
@@ -2,4 +2,4 @@
///
// NOTE: This file should not be edited
-// see https://nextjs.org/docs/pages/building-your-application/configuring/typescript for more information.
+// see https://nextjs.org/docs/basic-features/typescript for more information.
diff --git a/examples/cms-agilitycms/next-env.d.ts b/examples/cms-agilitycms/next-env.d.ts
index a4a7b3f5cfa2f..4f11a03dc6cc3 100644
--- a/examples/cms-agilitycms/next-env.d.ts
+++ b/examples/cms-agilitycms/next-env.d.ts
@@ -2,4 +2,4 @@
///
// NOTE: This file should not be edited
-// see https://nextjs.org/docs/pages/building-your-application/configuring/typescript for more information.
+// see https://nextjs.org/docs/basic-features/typescript for more information.
diff --git a/examples/cms-cosmic/next-env.d.ts b/examples/cms-cosmic/next-env.d.ts
index a4a7b3f5cfa2f..4f11a03dc6cc3 100644
--- a/examples/cms-cosmic/next-env.d.ts
+++ b/examples/cms-cosmic/next-env.d.ts
@@ -2,4 +2,4 @@
///
// NOTE: This file should not be edited
-// see https://nextjs.org/docs/pages/building-your-application/configuring/typescript for more information.
+// see https://nextjs.org/docs/basic-features/typescript for more information.
diff --git a/examples/cms-dotcms/next-env.d.ts b/examples/cms-dotcms/next-env.d.ts
index a4a7b3f5cfa2f..4f11a03dc6cc3 100644
--- a/examples/cms-dotcms/next-env.d.ts
+++ b/examples/cms-dotcms/next-env.d.ts
@@ -2,4 +2,4 @@
///
// NOTE: This file should not be edited
-// see https://nextjs.org/docs/pages/building-your-application/configuring/typescript for more information.
+// see https://nextjs.org/docs/basic-features/typescript for more information.
diff --git a/examples/cms-enterspeed/next-env.d.ts b/examples/cms-enterspeed/next-env.d.ts
index a4a7b3f5cfa2f..4f11a03dc6cc3 100644
--- a/examples/cms-enterspeed/next-env.d.ts
+++ b/examples/cms-enterspeed/next-env.d.ts
@@ -2,4 +2,4 @@
///
// NOTE: This file should not be edited
-// see https://nextjs.org/docs/pages/building-your-application/configuring/typescript for more information.
+// see https://nextjs.org/docs/basic-features/typescript for more information.
diff --git a/examples/cms-kontent-ai/next-env.d.ts b/examples/cms-kontent-ai/next-env.d.ts
index a4a7b3f5cfa2f..4f11a03dc6cc3 100644
--- a/examples/cms-kontent-ai/next-env.d.ts
+++ b/examples/cms-kontent-ai/next-env.d.ts
@@ -2,4 +2,4 @@
///
// NOTE: This file should not be edited
-// see https://nextjs.org/docs/pages/building-your-application/configuring/typescript for more information.
+// see https://nextjs.org/docs/basic-features/typescript for more information.
diff --git a/examples/cms-makeswift/next-env.d.ts b/examples/cms-makeswift/next-env.d.ts
index a4a7b3f5cfa2f..4f11a03dc6cc3 100644
--- a/examples/cms-makeswift/next-env.d.ts
+++ b/examples/cms-makeswift/next-env.d.ts
@@ -2,4 +2,4 @@
///
// NOTE: This file should not be edited
-// see https://nextjs.org/docs/pages/building-your-application/configuring/typescript for more information.
+// see https://nextjs.org/docs/basic-features/typescript for more information.
diff --git a/examples/cms-payload/next-env.d.ts b/examples/cms-payload/next-env.d.ts
index 40c3d68096c27..4f11a03dc6cc3 100644
--- a/examples/cms-payload/next-env.d.ts
+++ b/examples/cms-payload/next-env.d.ts
@@ -2,4 +2,4 @@
///
// NOTE: This file should not be edited
-// see https://nextjs.org/docs/app/building-your-application/configuring/typescript for more information.
+// see https://nextjs.org/docs/basic-features/typescript for more information.
diff --git a/examples/cms-plasmic/next-env.d.ts b/examples/cms-plasmic/next-env.d.ts
index a4a7b3f5cfa2f..4f11a03dc6cc3 100644
--- a/examples/cms-plasmic/next-env.d.ts
+++ b/examples/cms-plasmic/next-env.d.ts
@@ -2,4 +2,4 @@
///
// NOTE: This file should not be edited
-// see https://nextjs.org/docs/pages/building-your-application/configuring/typescript for more information.
+// see https://nextjs.org/docs/basic-features/typescript for more information.
diff --git a/examples/cms-prismic/next-env.d.ts b/examples/cms-prismic/next-env.d.ts
index a4a7b3f5cfa2f..4f11a03dc6cc3 100644
--- a/examples/cms-prismic/next-env.d.ts
+++ b/examples/cms-prismic/next-env.d.ts
@@ -2,4 +2,4 @@
///
// NOTE: This file should not be edited
-// see https://nextjs.org/docs/pages/building-your-application/configuring/typescript for more information.
+// see https://nextjs.org/docs/basic-features/typescript for more information.
diff --git a/examples/cms-sitecore-xmcloud/next-env.d.ts b/examples/cms-sitecore-xmcloud/next-env.d.ts
index a4a7b3f5cfa2f..4f11a03dc6cc3 100644
--- a/examples/cms-sitecore-xmcloud/next-env.d.ts
+++ b/examples/cms-sitecore-xmcloud/next-env.d.ts
@@ -2,4 +2,4 @@
///
// NOTE: This file should not be edited
-// see https://nextjs.org/docs/pages/building-your-application/configuring/typescript for more information.
+// see https://nextjs.org/docs/basic-features/typescript for more information.
diff --git a/examples/cms-sitefinity/next-env.d.ts b/examples/cms-sitefinity/next-env.d.ts
index a4a7b3f5cfa2f..4f11a03dc6cc3 100644
--- a/examples/cms-sitefinity/next-env.d.ts
+++ b/examples/cms-sitefinity/next-env.d.ts
@@ -2,4 +2,4 @@
///
// NOTE: This file should not be edited
-// see https://nextjs.org/docs/pages/building-your-application/configuring/typescript for more information.
+// see https://nextjs.org/docs/basic-features/typescript for more information.
diff --git a/examples/cms-webiny/next-env.d.ts b/examples/cms-webiny/next-env.d.ts
index a4a7b3f5cfa2f..4f11a03dc6cc3 100644
--- a/examples/cms-webiny/next-env.d.ts
+++ b/examples/cms-webiny/next-env.d.ts
@@ -2,4 +2,4 @@
///
// NOTE: This file should not be edited
-// see https://nextjs.org/docs/pages/building-your-application/configuring/typescript for more information.
+// see https://nextjs.org/docs/basic-features/typescript for more information.
diff --git a/examples/cms-wordpress/next-env.d.ts b/examples/cms-wordpress/next-env.d.ts
index a4a7b3f5cfa2f..4f11a03dc6cc3 100644
--- a/examples/cms-wordpress/next-env.d.ts
+++ b/examples/cms-wordpress/next-env.d.ts
@@ -2,4 +2,4 @@
///
// NOTE: This file should not be edited
-// see https://nextjs.org/docs/pages/building-your-application/configuring/typescript for more information.
+// see https://nextjs.org/docs/basic-features/typescript for more information.
diff --git a/examples/convex/next-env.d.ts b/examples/convex/next-env.d.ts
index a4a7b3f5cfa2f..4f11a03dc6cc3 100644
--- a/examples/convex/next-env.d.ts
+++ b/examples/convex/next-env.d.ts
@@ -2,4 +2,4 @@
///
// NOTE: This file should not be edited
-// see https://nextjs.org/docs/pages/building-your-application/configuring/typescript for more information.
+// see https://nextjs.org/docs/basic-features/typescript for more information.
diff --git a/examples/custom-routes-proxying/next-env.d.ts b/examples/custom-routes-proxying/next-env.d.ts
index a4a7b3f5cfa2f..4f11a03dc6cc3 100644
--- a/examples/custom-routes-proxying/next-env.d.ts
+++ b/examples/custom-routes-proxying/next-env.d.ts
@@ -2,4 +2,4 @@
///
// NOTE: This file should not be edited
-// see https://nextjs.org/docs/pages/building-your-application/configuring/typescript for more information.
+// see https://nextjs.org/docs/basic-features/typescript for more information.
diff --git a/examples/custom-server/next-env.d.ts b/examples/custom-server/next-env.d.ts
index 40c3d68096c27..4f11a03dc6cc3 100644
--- a/examples/custom-server/next-env.d.ts
+++ b/examples/custom-server/next-env.d.ts
@@ -2,4 +2,4 @@
///
// NOTE: This file should not be edited
-// see https://nextjs.org/docs/app/building-your-application/configuring/typescript for more information.
+// see https://nextjs.org/docs/basic-features/typescript for more information.
diff --git a/examples/dynamic-routing/next-env.d.ts b/examples/dynamic-routing/next-env.d.ts
index 40c3d68096c27..4f11a03dc6cc3 100644
--- a/examples/dynamic-routing/next-env.d.ts
+++ b/examples/dynamic-routing/next-env.d.ts
@@ -2,4 +2,4 @@
///
// NOTE: This file should not be edited
-// see https://nextjs.org/docs/app/building-your-application/configuring/typescript for more information.
+// see https://nextjs.org/docs/basic-features/typescript for more information.
diff --git a/examples/environment-variables/next-env.d.ts b/examples/environment-variables/next-env.d.ts
index a4a7b3f5cfa2f..4f11a03dc6cc3 100644
--- a/examples/environment-variables/next-env.d.ts
+++ b/examples/environment-variables/next-env.d.ts
@@ -2,4 +2,4 @@
///
// NOTE: This file should not be edited
-// see https://nextjs.org/docs/pages/building-your-application/configuring/typescript for more information.
+// see https://nextjs.org/docs/basic-features/typescript for more information.
diff --git a/examples/github-pages/next-env.d.ts b/examples/github-pages/next-env.d.ts
index 40c3d68096c27..4f11a03dc6cc3 100644
--- a/examples/github-pages/next-env.d.ts
+++ b/examples/github-pages/next-env.d.ts
@@ -2,4 +2,4 @@
///
// NOTE: This file should not be edited
-// see https://nextjs.org/docs/app/building-your-application/configuring/typescript for more information.
+// see https://nextjs.org/docs/basic-features/typescript for more information.
diff --git a/examples/head-elements/next-env.d.ts b/examples/head-elements/next-env.d.ts
index 40c3d68096c27..4f11a03dc6cc3 100644
--- a/examples/head-elements/next-env.d.ts
+++ b/examples/head-elements/next-env.d.ts
@@ -2,4 +2,4 @@
///
// NOTE: This file should not be edited
-// see https://nextjs.org/docs/app/building-your-application/configuring/typescript for more information.
+// see https://nextjs.org/docs/basic-features/typescript for more information.
diff --git a/examples/headers/next-env.d.ts b/examples/headers/next-env.d.ts
index 40c3d68096c27..4f11a03dc6cc3 100644
--- a/examples/headers/next-env.d.ts
+++ b/examples/headers/next-env.d.ts
@@ -2,4 +2,4 @@
///
// NOTE: This file should not be edited
-// see https://nextjs.org/docs/app/building-your-application/configuring/typescript for more information.
+// see https://nextjs.org/docs/basic-features/typescript for more information.
diff --git a/examples/i18n-routing/next-env.d.ts b/examples/i18n-routing/next-env.d.ts
index a4a7b3f5cfa2f..4f11a03dc6cc3 100644
--- a/examples/i18n-routing/next-env.d.ts
+++ b/examples/i18n-routing/next-env.d.ts
@@ -2,4 +2,4 @@
///
// NOTE: This file should not be edited
-// see https://nextjs.org/docs/pages/building-your-application/configuring/typescript for more information.
+// see https://nextjs.org/docs/basic-features/typescript for more information.
diff --git a/examples/image-component/next-env.d.ts b/examples/image-component/next-env.d.ts
index 40c3d68096c27..4f11a03dc6cc3 100644
--- a/examples/image-component/next-env.d.ts
+++ b/examples/image-component/next-env.d.ts
@@ -2,4 +2,4 @@
///
// NOTE: This file should not be edited
-// see https://nextjs.org/docs/app/building-your-application/configuring/typescript for more information.
+// see https://nextjs.org/docs/basic-features/typescript for more information.
diff --git a/examples/image-legacy-component/next-env.d.ts b/examples/image-legacy-component/next-env.d.ts
index a4a7b3f5cfa2f..4f11a03dc6cc3 100644
--- a/examples/image-legacy-component/next-env.d.ts
+++ b/examples/image-legacy-component/next-env.d.ts
@@ -2,4 +2,4 @@
///
// NOTE: This file should not be edited
-// see https://nextjs.org/docs/pages/building-your-application/configuring/typescript for more information.
+// see https://nextjs.org/docs/basic-features/typescript for more information.
diff --git a/examples/layout-component/next-env.d.ts b/examples/layout-component/next-env.d.ts
index 40c3d68096c27..4f11a03dc6cc3 100644
--- a/examples/layout-component/next-env.d.ts
+++ b/examples/layout-component/next-env.d.ts
@@ -2,4 +2,4 @@
///
// NOTE: This file should not be edited
-// see https://nextjs.org/docs/app/building-your-application/configuring/typescript for more information.
+// see https://nextjs.org/docs/basic-features/typescript for more information.
diff --git a/examples/markdoc/next-env.d.ts b/examples/markdoc/next-env.d.ts
index a4a7b3f5cfa2f..4f11a03dc6cc3 100644
--- a/examples/markdoc/next-env.d.ts
+++ b/examples/markdoc/next-env.d.ts
@@ -2,4 +2,4 @@
///
// NOTE: This file should not be edited
-// see https://nextjs.org/docs/pages/building-your-application/configuring/typescript for more information.
+// see https://nextjs.org/docs/basic-features/typescript for more information.
diff --git a/examples/middleware-matcher/next-env.d.ts b/examples/middleware-matcher/next-env.d.ts
index a4a7b3f5cfa2f..4f11a03dc6cc3 100644
--- a/examples/middleware-matcher/next-env.d.ts
+++ b/examples/middleware-matcher/next-env.d.ts
@@ -2,4 +2,4 @@
///
// NOTE: This file should not be edited
-// see https://nextjs.org/docs/pages/building-your-application/configuring/typescript for more information.
+// see https://nextjs.org/docs/basic-features/typescript for more information.
diff --git a/examples/middleware/next-env.d.ts b/examples/middleware/next-env.d.ts
index 40c3d68096c27..4f11a03dc6cc3 100644
--- a/examples/middleware/next-env.d.ts
+++ b/examples/middleware/next-env.d.ts
@@ -2,4 +2,4 @@
///
// NOTE: This file should not be edited
-// see https://nextjs.org/docs/app/building-your-application/configuring/typescript for more information.
+// see https://nextjs.org/docs/basic-features/typescript for more information.
diff --git a/examples/modularize-imports/next-env.d.ts b/examples/modularize-imports/next-env.d.ts
index a4a7b3f5cfa2f..4f11a03dc6cc3 100644
--- a/examples/modularize-imports/next-env.d.ts
+++ b/examples/modularize-imports/next-env.d.ts
@@ -2,4 +2,4 @@
///
// NOTE: This file should not be edited
-// see https://nextjs.org/docs/pages/building-your-application/configuring/typescript for more information.
+// see https://nextjs.org/docs/basic-features/typescript for more information.
diff --git a/examples/nested-components/next-env.d.ts b/examples/nested-components/next-env.d.ts
index 40c3d68096c27..4f11a03dc6cc3 100644
--- a/examples/nested-components/next-env.d.ts
+++ b/examples/nested-components/next-env.d.ts
@@ -2,4 +2,4 @@
///
// NOTE: This file should not be edited
-// see https://nextjs.org/docs/app/building-your-application/configuring/typescript for more information.
+// see https://nextjs.org/docs/basic-features/typescript for more information.
diff --git a/examples/next-css/next-env.d.ts b/examples/next-css/next-env.d.ts
index 40c3d68096c27..4f11a03dc6cc3 100644
--- a/examples/next-css/next-env.d.ts
+++ b/examples/next-css/next-env.d.ts
@@ -2,4 +2,4 @@
///
// NOTE: This file should not be edited
-// see https://nextjs.org/docs/app/building-your-application/configuring/typescript for more information.
+// see https://nextjs.org/docs/basic-features/typescript for more information.
diff --git a/examples/next-forms/next-env.d.ts b/examples/next-forms/next-env.d.ts
index 40c3d68096c27..4f11a03dc6cc3 100644
--- a/examples/next-forms/next-env.d.ts
+++ b/examples/next-forms/next-env.d.ts
@@ -2,4 +2,4 @@
///
// NOTE: This file should not be edited
-// see https://nextjs.org/docs/app/building-your-application/configuring/typescript for more information.
+// see https://nextjs.org/docs/basic-features/typescript for more information.
diff --git a/examples/next-offline/next-env.d.ts b/examples/next-offline/next-env.d.ts
index a4a7b3f5cfa2f..4f11a03dc6cc3 100644
--- a/examples/next-offline/next-env.d.ts
+++ b/examples/next-offline/next-env.d.ts
@@ -2,4 +2,4 @@
///
// NOTE: This file should not be edited
-// see https://nextjs.org/docs/pages/building-your-application/configuring/typescript for more information.
+// see https://nextjs.org/docs/basic-features/typescript for more information.
diff --git a/examples/progressive-web-app/next-env.d.ts b/examples/progressive-web-app/next-env.d.ts
index a4a7b3f5cfa2f..4f11a03dc6cc3 100644
--- a/examples/progressive-web-app/next-env.d.ts
+++ b/examples/progressive-web-app/next-env.d.ts
@@ -2,4 +2,4 @@
///
// NOTE: This file should not be edited
-// see https://nextjs.org/docs/pages/building-your-application/configuring/typescript for more information.
+// see https://nextjs.org/docs/basic-features/typescript for more information.
diff --git a/examples/radix-ui/next-env.d.ts b/examples/radix-ui/next-env.d.ts
index a4a7b3f5cfa2f..4f11a03dc6cc3 100644
--- a/examples/radix-ui/next-env.d.ts
+++ b/examples/radix-ui/next-env.d.ts
@@ -2,4 +2,4 @@
///
// NOTE: This file should not be edited
-// see https://nextjs.org/docs/pages/building-your-application/configuring/typescript for more information.
+// see https://nextjs.org/docs/basic-features/typescript for more information.
diff --git a/examples/react-remove-properties/next-env.d.ts b/examples/react-remove-properties/next-env.d.ts
index 40c3d68096c27..4f11a03dc6cc3 100644
--- a/examples/react-remove-properties/next-env.d.ts
+++ b/examples/react-remove-properties/next-env.d.ts
@@ -2,4 +2,4 @@
///
// NOTE: This file should not be edited
-// see https://nextjs.org/docs/app/building-your-application/configuring/typescript for more information.
+// see https://nextjs.org/docs/basic-features/typescript for more information.
diff --git a/examples/redirects/next-env.d.ts b/examples/redirects/next-env.d.ts
index 40c3d68096c27..4f11a03dc6cc3 100644
--- a/examples/redirects/next-env.d.ts
+++ b/examples/redirects/next-env.d.ts
@@ -2,4 +2,4 @@
///
// NOTE: This file should not be edited
-// see https://nextjs.org/docs/app/building-your-application/configuring/typescript for more information.
+// see https://nextjs.org/docs/basic-features/typescript for more information.
diff --git a/examples/remove-console/next-env.d.ts b/examples/remove-console/next-env.d.ts
index a4a7b3f5cfa2f..4f11a03dc6cc3 100644
--- a/examples/remove-console/next-env.d.ts
+++ b/examples/remove-console/next-env.d.ts
@@ -2,4 +2,4 @@
///
// NOTE: This file should not be edited
-// see https://nextjs.org/docs/pages/building-your-application/configuring/typescript for more information.
+// see https://nextjs.org/docs/basic-features/typescript for more information.
diff --git a/examples/reproduction-template/next-env.d.ts b/examples/reproduction-template/next-env.d.ts
index 40c3d68096c27..4f11a03dc6cc3 100644
--- a/examples/reproduction-template/next-env.d.ts
+++ b/examples/reproduction-template/next-env.d.ts
@@ -2,4 +2,4 @@
///
// NOTE: This file should not be edited
-// see https://nextjs.org/docs/app/building-your-application/configuring/typescript for more information.
+// see https://nextjs.org/docs/basic-features/typescript for more information.
diff --git a/examples/rewrites/next-env.d.ts b/examples/rewrites/next-env.d.ts
index a4a7b3f5cfa2f..4f11a03dc6cc3 100644
--- a/examples/rewrites/next-env.d.ts
+++ b/examples/rewrites/next-env.d.ts
@@ -2,4 +2,4 @@
///
// NOTE: This file should not be edited
-// see https://nextjs.org/docs/pages/building-your-application/configuring/typescript for more information.
+// see https://nextjs.org/docs/basic-features/typescript for more information.
diff --git a/examples/script-component/next-env.d.ts b/examples/script-component/next-env.d.ts
index a4a7b3f5cfa2f..4f11a03dc6cc3 100644
--- a/examples/script-component/next-env.d.ts
+++ b/examples/script-component/next-env.d.ts
@@ -2,4 +2,4 @@
///
// NOTE: This file should not be edited
-// see https://nextjs.org/docs/pages/building-your-application/configuring/typescript for more information.
+// see https://nextjs.org/docs/basic-features/typescript for more information.
diff --git a/examples/ssr-caching/next-env.d.ts b/examples/ssr-caching/next-env.d.ts
index a4a7b3f5cfa2f..4f11a03dc6cc3 100644
--- a/examples/ssr-caching/next-env.d.ts
+++ b/examples/ssr-caching/next-env.d.ts
@@ -2,4 +2,4 @@
///
// NOTE: This file should not be edited
-// see https://nextjs.org/docs/pages/building-your-application/configuring/typescript for more information.
+// see https://nextjs.org/docs/basic-features/typescript for more information.
diff --git a/examples/svg-components/next-env.d.ts b/examples/svg-components/next-env.d.ts
index 40c3d68096c27..4f11a03dc6cc3 100644
--- a/examples/svg-components/next-env.d.ts
+++ b/examples/svg-components/next-env.d.ts
@@ -2,4 +2,4 @@
///
// NOTE: This file should not be edited
-// see https://nextjs.org/docs/app/building-your-application/configuring/typescript for more information.
+// see https://nextjs.org/docs/basic-features/typescript for more information.
diff --git a/examples/with-ably/next-env.d.ts b/examples/with-ably/next-env.d.ts
index a4a7b3f5cfa2f..4f11a03dc6cc3 100644
--- a/examples/with-ably/next-env.d.ts
+++ b/examples/with-ably/next-env.d.ts
@@ -2,4 +2,4 @@
///
// NOTE: This file should not be edited
-// see https://nextjs.org/docs/pages/building-your-application/configuring/typescript for more information.
+// see https://nextjs.org/docs/basic-features/typescript for more information.
diff --git a/examples/with-absolute-imports/next-env.d.ts b/examples/with-absolute-imports/next-env.d.ts
index 40c3d68096c27..4f11a03dc6cc3 100644
--- a/examples/with-absolute-imports/next-env.d.ts
+++ b/examples/with-absolute-imports/next-env.d.ts
@@ -2,4 +2,4 @@
///
// NOTE: This file should not be edited
-// see https://nextjs.org/docs/app/building-your-application/configuring/typescript for more information.
+// see https://nextjs.org/docs/basic-features/typescript for more information.
diff --git a/examples/with-algolia-react-instantsearch/next-env.d.ts b/examples/with-algolia-react-instantsearch/next-env.d.ts
index 40c3d68096c27..4f11a03dc6cc3 100644
--- a/examples/with-algolia-react-instantsearch/next-env.d.ts
+++ b/examples/with-algolia-react-instantsearch/next-env.d.ts
@@ -2,4 +2,4 @@
///
// NOTE: This file should not be edited
-// see https://nextjs.org/docs/app/building-your-application/configuring/typescript for more information.
+// see https://nextjs.org/docs/basic-features/typescript for more information.
diff --git a/examples/with-ant-design/next-env.d.ts b/examples/with-ant-design/next-env.d.ts
index 40c3d68096c27..4f11a03dc6cc3 100644
--- a/examples/with-ant-design/next-env.d.ts
+++ b/examples/with-ant-design/next-env.d.ts
@@ -2,4 +2,4 @@
///
// NOTE: This file should not be edited
-// see https://nextjs.org/docs/app/building-your-application/configuring/typescript for more information.
+// see https://nextjs.org/docs/basic-features/typescript for more information.
diff --git a/examples/with-apivideo/next-env.d.ts b/examples/with-apivideo/next-env.d.ts
index a4a7b3f5cfa2f..4f11a03dc6cc3 100644
--- a/examples/with-apivideo/next-env.d.ts
+++ b/examples/with-apivideo/next-env.d.ts
@@ -2,4 +2,4 @@
///
// NOTE: This file should not be edited
-// see https://nextjs.org/docs/pages/building-your-application/configuring/typescript for more information.
+// see https://nextjs.org/docs/basic-features/typescript for more information.
diff --git a/examples/with-axiom/next-env.d.ts b/examples/with-axiom/next-env.d.ts
index a4a7b3f5cfa2f..4f11a03dc6cc3 100644
--- a/examples/with-axiom/next-env.d.ts
+++ b/examples/with-axiom/next-env.d.ts
@@ -2,4 +2,4 @@
///
// NOTE: This file should not be edited
-// see https://nextjs.org/docs/pages/building-your-application/configuring/typescript for more information.
+// see https://nextjs.org/docs/basic-features/typescript for more information.
diff --git a/examples/with-chakra-ui/next-env.d.ts b/examples/with-chakra-ui/next-env.d.ts
index a4a7b3f5cfa2f..4f11a03dc6cc3 100644
--- a/examples/with-chakra-ui/next-env.d.ts
+++ b/examples/with-chakra-ui/next-env.d.ts
@@ -2,4 +2,4 @@
///
// NOTE: This file should not be edited
-// see https://nextjs.org/docs/pages/building-your-application/configuring/typescript for more information.
+// see https://nextjs.org/docs/basic-features/typescript for more information.
diff --git a/examples/with-cloudinary/next-env.d.ts b/examples/with-cloudinary/next-env.d.ts
index a4a7b3f5cfa2f..4f11a03dc6cc3 100644
--- a/examples/with-cloudinary/next-env.d.ts
+++ b/examples/with-cloudinary/next-env.d.ts
@@ -2,4 +2,4 @@
///
// NOTE: This file should not be edited
-// see https://nextjs.org/docs/pages/building-your-application/configuring/typescript for more information.
+// see https://nextjs.org/docs/basic-features/typescript for more information.
diff --git a/examples/with-context-api/next-env.d.ts b/examples/with-context-api/next-env.d.ts
index a4a7b3f5cfa2f..4f11a03dc6cc3 100644
--- a/examples/with-context-api/next-env.d.ts
+++ b/examples/with-context-api/next-env.d.ts
@@ -2,4 +2,4 @@
///
// NOTE: This file should not be edited
-// see https://nextjs.org/docs/pages/building-your-application/configuring/typescript for more information.
+// see https://nextjs.org/docs/basic-features/typescript for more information.
diff --git a/examples/with-cookies-next/next-env.d.ts b/examples/with-cookies-next/next-env.d.ts
index a4a7b3f5cfa2f..4f11a03dc6cc3 100644
--- a/examples/with-cookies-next/next-env.d.ts
+++ b/examples/with-cookies-next/next-env.d.ts
@@ -2,4 +2,4 @@
///
// NOTE: This file should not be edited
-// see https://nextjs.org/docs/pages/building-your-application/configuring/typescript for more information.
+// see https://nextjs.org/docs/basic-features/typescript for more information.
diff --git a/examples/with-cssed/next-env.d.ts b/examples/with-cssed/next-env.d.ts
index a4a7b3f5cfa2f..4f11a03dc6cc3 100644
--- a/examples/with-cssed/next-env.d.ts
+++ b/examples/with-cssed/next-env.d.ts
@@ -2,4 +2,4 @@
///
// NOTE: This file should not be edited
-// see https://nextjs.org/docs/pages/building-your-application/configuring/typescript for more information.
+// see https://nextjs.org/docs/basic-features/typescript for more information.
diff --git a/examples/with-cxs/next-env.d.ts b/examples/with-cxs/next-env.d.ts
index a4a7b3f5cfa2f..4f11a03dc6cc3 100644
--- a/examples/with-cxs/next-env.d.ts
+++ b/examples/with-cxs/next-env.d.ts
@@ -2,4 +2,4 @@
///
// NOTE: This file should not be edited
-// see https://nextjs.org/docs/pages/building-your-application/configuring/typescript for more information.
+// see https://nextjs.org/docs/basic-features/typescript for more information.
diff --git a/examples/with-cypress/next-env.d.ts b/examples/with-cypress/next-env.d.ts
index 40c3d68096c27..4f11a03dc6cc3 100644
--- a/examples/with-cypress/next-env.d.ts
+++ b/examples/with-cypress/next-env.d.ts
@@ -2,4 +2,4 @@
///
// NOTE: This file should not be edited
-// see https://nextjs.org/docs/app/building-your-application/configuring/typescript for more information.
+// see https://nextjs.org/docs/basic-features/typescript for more information.
diff --git a/examples/with-dynamic-import/next-env.d.ts b/examples/with-dynamic-import/next-env.d.ts
index a4a7b3f5cfa2f..4f11a03dc6cc3 100644
--- a/examples/with-dynamic-import/next-env.d.ts
+++ b/examples/with-dynamic-import/next-env.d.ts
@@ -2,4 +2,4 @@
///
// NOTE: This file should not be edited
-// see https://nextjs.org/docs/pages/building-your-application/configuring/typescript for more information.
+// see https://nextjs.org/docs/basic-features/typescript for more information.
diff --git a/examples/with-edgedb/next-env.d.ts b/examples/with-edgedb/next-env.d.ts
index a4a7b3f5cfa2f..4f11a03dc6cc3 100644
--- a/examples/with-edgedb/next-env.d.ts
+++ b/examples/with-edgedb/next-env.d.ts
@@ -2,4 +2,4 @@
///
// NOTE: This file should not be edited
-// see https://nextjs.org/docs/pages/building-your-application/configuring/typescript for more information.
+// see https://nextjs.org/docs/basic-features/typescript for more information.
diff --git a/examples/with-expo-typescript/next-env.d.ts b/examples/with-expo-typescript/next-env.d.ts
index a4a7b3f5cfa2f..4f11a03dc6cc3 100644
--- a/examples/with-expo-typescript/next-env.d.ts
+++ b/examples/with-expo-typescript/next-env.d.ts
@@ -2,4 +2,4 @@
///
// NOTE: This file should not be edited
-// see https://nextjs.org/docs/pages/building-your-application/configuring/typescript for more information.
+// see https://nextjs.org/docs/basic-features/typescript for more information.
diff --git a/examples/with-fingerprintjs-pro/next-env.d.ts b/examples/with-fingerprintjs-pro/next-env.d.ts
index a4a7b3f5cfa2f..4f11a03dc6cc3 100644
--- a/examples/with-fingerprintjs-pro/next-env.d.ts
+++ b/examples/with-fingerprintjs-pro/next-env.d.ts
@@ -2,4 +2,4 @@
///
// NOTE: This file should not be edited
-// see https://nextjs.org/docs/pages/building-your-application/configuring/typescript for more information.
+// see https://nextjs.org/docs/basic-features/typescript for more information.
diff --git a/examples/with-goober/next-env.d.ts b/examples/with-goober/next-env.d.ts
index a4a7b3f5cfa2f..4f11a03dc6cc3 100644
--- a/examples/with-goober/next-env.d.ts
+++ b/examples/with-goober/next-env.d.ts
@@ -2,4 +2,4 @@
///
// NOTE: This file should not be edited
-// see https://nextjs.org/docs/pages/building-your-application/configuring/typescript for more information.
+// see https://nextjs.org/docs/basic-features/typescript for more information.
diff --git a/examples/with-grafbase/next-env.d.ts b/examples/with-grafbase/next-env.d.ts
index 40c3d68096c27..4f11a03dc6cc3 100644
--- a/examples/with-grafbase/next-env.d.ts
+++ b/examples/with-grafbase/next-env.d.ts
@@ -2,4 +2,4 @@
///
// NOTE: This file should not be edited
-// see https://nextjs.org/docs/app/building-your-application/configuring/typescript for more information.
+// see https://nextjs.org/docs/basic-features/typescript for more information.
diff --git a/examples/with-graphql-gateway/next-env.d.ts b/examples/with-graphql-gateway/next-env.d.ts
index a4a7b3f5cfa2f..4f11a03dc6cc3 100644
--- a/examples/with-graphql-gateway/next-env.d.ts
+++ b/examples/with-graphql-gateway/next-env.d.ts
@@ -2,4 +2,4 @@
///
// NOTE: This file should not be edited
-// see https://nextjs.org/docs/pages/building-your-application/configuring/typescript for more information.
+// see https://nextjs.org/docs/basic-features/typescript for more information.
diff --git a/examples/with-gsap/next-env.d.ts b/examples/with-gsap/next-env.d.ts
index a4a7b3f5cfa2f..4f11a03dc6cc3 100644
--- a/examples/with-gsap/next-env.d.ts
+++ b/examples/with-gsap/next-env.d.ts
@@ -2,4 +2,4 @@
///
// NOTE: This file should not be edited
-// see https://nextjs.org/docs/pages/building-your-application/configuring/typescript for more information.
+// see https://nextjs.org/docs/basic-features/typescript for more information.
diff --git a/examples/with-ionic-typescript/next-env.d.ts b/examples/with-ionic-typescript/next-env.d.ts
index a4a7b3f5cfa2f..4f11a03dc6cc3 100644
--- a/examples/with-ionic-typescript/next-env.d.ts
+++ b/examples/with-ionic-typescript/next-env.d.ts
@@ -2,4 +2,4 @@
///
// NOTE: This file should not be edited
-// see https://nextjs.org/docs/pages/building-your-application/configuring/typescript for more information.
+// see https://nextjs.org/docs/basic-features/typescript for more information.
diff --git a/examples/with-jest-babel/next-env.d.ts b/examples/with-jest-babel/next-env.d.ts
index a4a7b3f5cfa2f..4f11a03dc6cc3 100644
--- a/examples/with-jest-babel/next-env.d.ts
+++ b/examples/with-jest-babel/next-env.d.ts
@@ -2,4 +2,4 @@
///
// NOTE: This file should not be edited
-// see https://nextjs.org/docs/pages/building-your-application/configuring/typescript for more information.
+// see https://nextjs.org/docs/basic-features/typescript for more information.
diff --git a/examples/with-jest/next-env.d.ts b/examples/with-jest/next-env.d.ts
index 40c3d68096c27..4f11a03dc6cc3 100644
--- a/examples/with-jest/next-env.d.ts
+++ b/examples/with-jest/next-env.d.ts
@@ -2,4 +2,4 @@
///
// NOTE: This file should not be edited
-// see https://nextjs.org/docs/app/building-your-application/configuring/typescript for more information.
+// see https://nextjs.org/docs/basic-features/typescript for more information.
diff --git a/examples/with-jotai/next-env.d.ts b/examples/with-jotai/next-env.d.ts
index 40c3d68096c27..4f11a03dc6cc3 100644
--- a/examples/with-jotai/next-env.d.ts
+++ b/examples/with-jotai/next-env.d.ts
@@ -2,4 +2,4 @@
///
// NOTE: This file should not be edited
-// see https://nextjs.org/docs/app/building-your-application/configuring/typescript for more information.
+// see https://nextjs.org/docs/basic-features/typescript for more information.
diff --git a/examples/with-linaria/next-env.d.ts b/examples/with-linaria/next-env.d.ts
index a4a7b3f5cfa2f..4f11a03dc6cc3 100644
--- a/examples/with-linaria/next-env.d.ts
+++ b/examples/with-linaria/next-env.d.ts
@@ -2,4 +2,4 @@
///
// NOTE: This file should not be edited
-// see https://nextjs.org/docs/pages/building-your-application/configuring/typescript for more information.
+// see https://nextjs.org/docs/basic-features/typescript for more information.
diff --git a/examples/with-mantine/next-env.d.ts b/examples/with-mantine/next-env.d.ts
index a4a7b3f5cfa2f..4f11a03dc6cc3 100644
--- a/examples/with-mantine/next-env.d.ts
+++ b/examples/with-mantine/next-env.d.ts
@@ -2,4 +2,4 @@
///
// NOTE: This file should not be edited
-// see https://nextjs.org/docs/pages/building-your-application/configuring/typescript for more information.
+// see https://nextjs.org/docs/basic-features/typescript for more information.
diff --git a/examples/with-mobx-state-tree/next-env.d.ts b/examples/with-mobx-state-tree/next-env.d.ts
index a4a7b3f5cfa2f..4f11a03dc6cc3 100644
--- a/examples/with-mobx-state-tree/next-env.d.ts
+++ b/examples/with-mobx-state-tree/next-env.d.ts
@@ -2,4 +2,4 @@
///
// NOTE: This file should not be edited
-// see https://nextjs.org/docs/pages/building-your-application/configuring/typescript for more information.
+// see https://nextjs.org/docs/basic-features/typescript for more information.
diff --git a/examples/with-mongodb-mongoose/next-env.d.ts b/examples/with-mongodb-mongoose/next-env.d.ts
index a4a7b3f5cfa2f..4f11a03dc6cc3 100644
--- a/examples/with-mongodb-mongoose/next-env.d.ts
+++ b/examples/with-mongodb-mongoose/next-env.d.ts
@@ -2,4 +2,4 @@
///
// NOTE: This file should not be edited
-// see https://nextjs.org/docs/pages/building-your-application/configuring/typescript for more information.
+// see https://nextjs.org/docs/basic-features/typescript for more information.
diff --git a/examples/with-mongodb/next-env.d.ts b/examples/with-mongodb/next-env.d.ts
index 40c3d68096c27..4f11a03dc6cc3 100644
--- a/examples/with-mongodb/next-env.d.ts
+++ b/examples/with-mongodb/next-env.d.ts
@@ -2,4 +2,4 @@
///
// NOTE: This file should not be edited
-// see https://nextjs.org/docs/app/building-your-application/configuring/typescript for more information.
+// see https://nextjs.org/docs/basic-features/typescript for more information.
diff --git a/examples/with-mqtt-js/next-env.d.ts b/examples/with-mqtt-js/next-env.d.ts
index a4a7b3f5cfa2f..4f11a03dc6cc3 100644
--- a/examples/with-mqtt-js/next-env.d.ts
+++ b/examples/with-mqtt-js/next-env.d.ts
@@ -2,4 +2,4 @@
///
// NOTE: This file should not be edited
-// see https://nextjs.org/docs/pages/building-your-application/configuring/typescript for more information.
+// see https://nextjs.org/docs/basic-features/typescript for more information.
diff --git a/examples/with-msw/next-env.d.ts b/examples/with-msw/next-env.d.ts
index a4a7b3f5cfa2f..4f11a03dc6cc3 100644
--- a/examples/with-msw/next-env.d.ts
+++ b/examples/with-msw/next-env.d.ts
@@ -2,4 +2,4 @@
///
// NOTE: This file should not be edited
-// see https://nextjs.org/docs/pages/building-your-application/configuring/typescript for more information.
+// see https://nextjs.org/docs/basic-features/typescript for more information.
diff --git a/examples/with-mux-video/next-env.d.ts b/examples/with-mux-video/next-env.d.ts
index 40c3d68096c27..4f11a03dc6cc3 100644
--- a/examples/with-mux-video/next-env.d.ts
+++ b/examples/with-mux-video/next-env.d.ts
@@ -2,4 +2,4 @@
///
// NOTE: This file should not be edited
-// see https://nextjs.org/docs/app/building-your-application/configuring/typescript for more information.
+// see https://nextjs.org/docs/basic-features/typescript for more information.
diff --git a/examples/with-next-sitemap/next-env.d.ts b/examples/with-next-sitemap/next-env.d.ts
index a4a7b3f5cfa2f..4f11a03dc6cc3 100644
--- a/examples/with-next-sitemap/next-env.d.ts
+++ b/examples/with-next-sitemap/next-env.d.ts
@@ -2,4 +2,4 @@
///
// NOTE: This file should not be edited
-// see https://nextjs.org/docs/pages/building-your-application/configuring/typescript for more information.
+// see https://nextjs.org/docs/basic-features/typescript for more information.
diff --git a/examples/with-next-ui/next-env.d.ts b/examples/with-next-ui/next-env.d.ts
index a4a7b3f5cfa2f..4f11a03dc6cc3 100644
--- a/examples/with-next-ui/next-env.d.ts
+++ b/examples/with-next-ui/next-env.d.ts
@@ -2,4 +2,4 @@
///
// NOTE: This file should not be edited
-// see https://nextjs.org/docs/pages/building-your-application/configuring/typescript for more information.
+// see https://nextjs.org/docs/basic-features/typescript for more information.
diff --git a/examples/with-opentelemetry/next-env.d.ts b/examples/with-opentelemetry/next-env.d.ts
index 40c3d68096c27..4f11a03dc6cc3 100644
--- a/examples/with-opentelemetry/next-env.d.ts
+++ b/examples/with-opentelemetry/next-env.d.ts
@@ -2,4 +2,4 @@
///
// NOTE: This file should not be edited
-// see https://nextjs.org/docs/app/building-your-application/configuring/typescript for more information.
+// see https://nextjs.org/docs/basic-features/typescript for more information.
diff --git a/examples/with-particles/next-env.d.ts b/examples/with-particles/next-env.d.ts
index a4a7b3f5cfa2f..4f11a03dc6cc3 100644
--- a/examples/with-particles/next-env.d.ts
+++ b/examples/with-particles/next-env.d.ts
@@ -2,4 +2,4 @@
///
// NOTE: This file should not be edited
-// see https://nextjs.org/docs/pages/building-your-application/configuring/typescript for more information.
+// see https://nextjs.org/docs/basic-features/typescript for more information.
diff --git a/examples/with-paste-typescript/next-env.d.ts b/examples/with-paste-typescript/next-env.d.ts
index a4a7b3f5cfa2f..4f11a03dc6cc3 100644
--- a/examples/with-paste-typescript/next-env.d.ts
+++ b/examples/with-paste-typescript/next-env.d.ts
@@ -2,4 +2,4 @@
///
// NOTE: This file should not be edited
-// see https://nextjs.org/docs/pages/building-your-application/configuring/typescript for more information.
+// see https://nextjs.org/docs/basic-features/typescript for more information.
diff --git a/examples/with-postgres/next-env.d.ts b/examples/with-postgres/next-env.d.ts
index a4a7b3f5cfa2f..4f11a03dc6cc3 100644
--- a/examples/with-postgres/next-env.d.ts
+++ b/examples/with-postgres/next-env.d.ts
@@ -2,4 +2,4 @@
///
// NOTE: This file should not be edited
-// see https://nextjs.org/docs/pages/building-your-application/configuring/typescript for more information.
+// see https://nextjs.org/docs/basic-features/typescript for more information.
diff --git a/examples/with-prefetching/next-env.d.ts b/examples/with-prefetching/next-env.d.ts
index a4a7b3f5cfa2f..4f11a03dc6cc3 100644
--- a/examples/with-prefetching/next-env.d.ts
+++ b/examples/with-prefetching/next-env.d.ts
@@ -2,4 +2,4 @@
///
// NOTE: This file should not be edited
-// see https://nextjs.org/docs/pages/building-your-application/configuring/typescript for more information.
+// see https://nextjs.org/docs/basic-features/typescript for more information.
diff --git a/examples/with-react-foundation/next-env.d.ts b/examples/with-react-foundation/next-env.d.ts
index a4a7b3f5cfa2f..4f11a03dc6cc3 100644
--- a/examples/with-react-foundation/next-env.d.ts
+++ b/examples/with-react-foundation/next-env.d.ts
@@ -2,4 +2,4 @@
///
// NOTE: This file should not be edited
-// see https://nextjs.org/docs/pages/building-your-application/configuring/typescript for more information.
+// see https://nextjs.org/docs/basic-features/typescript for more information.
diff --git a/examples/with-react-hook-form/next-env.d.ts b/examples/with-react-hook-form/next-env.d.ts
index a4a7b3f5cfa2f..4f11a03dc6cc3 100644
--- a/examples/with-react-hook-form/next-env.d.ts
+++ b/examples/with-react-hook-form/next-env.d.ts
@@ -2,4 +2,4 @@
///
// NOTE: This file should not be edited
-// see https://nextjs.org/docs/pages/building-your-application/configuring/typescript for more information.
+// see https://nextjs.org/docs/basic-features/typescript for more information.
diff --git a/examples/with-react-intl/next-env.d.ts b/examples/with-react-intl/next-env.d.ts
index a4a7b3f5cfa2f..4f11a03dc6cc3 100644
--- a/examples/with-react-intl/next-env.d.ts
+++ b/examples/with-react-intl/next-env.d.ts
@@ -2,4 +2,4 @@
///
// NOTE: This file should not be edited
-// see https://nextjs.org/docs/pages/building-your-application/configuring/typescript for more information.
+// see https://nextjs.org/docs/basic-features/typescript for more information.
diff --git a/examples/with-react-jss/next-env.d.ts b/examples/with-react-jss/next-env.d.ts
index a4a7b3f5cfa2f..4f11a03dc6cc3 100644
--- a/examples/with-react-jss/next-env.d.ts
+++ b/examples/with-react-jss/next-env.d.ts
@@ -2,4 +2,4 @@
///
// NOTE: This file should not be edited
-// see https://nextjs.org/docs/pages/building-your-application/configuring/typescript for more information.
+// see https://nextjs.org/docs/basic-features/typescript for more information.
diff --git a/examples/with-react-md-typescript/next-env.d.ts b/examples/with-react-md-typescript/next-env.d.ts
index a4a7b3f5cfa2f..4f11a03dc6cc3 100644
--- a/examples/with-react-md-typescript/next-env.d.ts
+++ b/examples/with-react-md-typescript/next-env.d.ts
@@ -2,4 +2,4 @@
///
// NOTE: This file should not be edited
-// see https://nextjs.org/docs/pages/building-your-application/configuring/typescript for more information.
+// see https://nextjs.org/docs/basic-features/typescript for more information.
diff --git a/examples/with-react-multi-carousel/next-env.d.ts b/examples/with-react-multi-carousel/next-env.d.ts
index a4a7b3f5cfa2f..4f11a03dc6cc3 100644
--- a/examples/with-react-multi-carousel/next-env.d.ts
+++ b/examples/with-react-multi-carousel/next-env.d.ts
@@ -2,4 +2,4 @@
///
// NOTE: This file should not be edited
-// see https://nextjs.org/docs/pages/building-your-application/configuring/typescript for more information.
+// see https://nextjs.org/docs/basic-features/typescript for more information.
diff --git a/examples/with-redis/next-env.d.ts b/examples/with-redis/next-env.d.ts
index 40c3d68096c27..4f11a03dc6cc3 100644
--- a/examples/with-redis/next-env.d.ts
+++ b/examples/with-redis/next-env.d.ts
@@ -2,4 +2,4 @@
///
// NOTE: This file should not be edited
-// see https://nextjs.org/docs/app/building-your-application/configuring/typescript for more information.
+// see https://nextjs.org/docs/basic-features/typescript for more information.
diff --git a/examples/with-redux/next-env.d.ts b/examples/with-redux/next-env.d.ts
index 40c3d68096c27..4f11a03dc6cc3 100644
--- a/examples/with-redux/next-env.d.ts
+++ b/examples/with-redux/next-env.d.ts
@@ -2,4 +2,4 @@
///
// NOTE: This file should not be edited
-// see https://nextjs.org/docs/app/building-your-application/configuring/typescript for more information.
+// see https://nextjs.org/docs/basic-features/typescript for more information.
diff --git a/examples/with-reflexjs/next-env.d.ts b/examples/with-reflexjs/next-env.d.ts
index a4a7b3f5cfa2f..4f11a03dc6cc3 100644
--- a/examples/with-reflexjs/next-env.d.ts
+++ b/examples/with-reflexjs/next-env.d.ts
@@ -2,4 +2,4 @@
///
// NOTE: This file should not be edited
-// see https://nextjs.org/docs/pages/building-your-application/configuring/typescript for more information.
+// see https://nextjs.org/docs/basic-features/typescript for more information.
diff --git a/examples/with-sentry/next-env.d.ts b/examples/with-sentry/next-env.d.ts
index a4a7b3f5cfa2f..4f11a03dc6cc3 100644
--- a/examples/with-sentry/next-env.d.ts
+++ b/examples/with-sentry/next-env.d.ts
@@ -2,4 +2,4 @@
///
// NOTE: This file should not be edited
-// see https://nextjs.org/docs/pages/building-your-application/configuring/typescript for more information.
+// see https://nextjs.org/docs/basic-features/typescript for more information.
diff --git a/examples/with-service-worker/next-env.d.ts b/examples/with-service-worker/next-env.d.ts
index a4a7b3f5cfa2f..4f11a03dc6cc3 100644
--- a/examples/with-service-worker/next-env.d.ts
+++ b/examples/with-service-worker/next-env.d.ts
@@ -2,4 +2,4 @@
///
// NOTE: This file should not be edited
-// see https://nextjs.org/docs/pages/building-your-application/configuring/typescript for more information.
+// see https://nextjs.org/docs/basic-features/typescript for more information.
diff --git a/examples/with-sfcc/next-env.d.ts b/examples/with-sfcc/next-env.d.ts
index a4a7b3f5cfa2f..4f11a03dc6cc3 100644
--- a/examples/with-sfcc/next-env.d.ts
+++ b/examples/with-sfcc/next-env.d.ts
@@ -2,4 +2,4 @@
///
// NOTE: This file should not be edited
-// see https://nextjs.org/docs/pages/building-your-application/configuring/typescript for more information.
+// see https://nextjs.org/docs/basic-features/typescript for more information.
diff --git a/examples/with-slate/next-env.d.ts b/examples/with-slate/next-env.d.ts
index 40c3d68096c27..4f11a03dc6cc3 100644
--- a/examples/with-slate/next-env.d.ts
+++ b/examples/with-slate/next-env.d.ts
@@ -2,4 +2,4 @@
///
// NOTE: This file should not be edited
-// see https://nextjs.org/docs/app/building-your-application/configuring/typescript for more information.
+// see https://nextjs.org/docs/basic-features/typescript for more information.
diff --git a/examples/with-static-export/next-env.d.ts b/examples/with-static-export/next-env.d.ts
index 40c3d68096c27..4f11a03dc6cc3 100644
--- a/examples/with-static-export/next-env.d.ts
+++ b/examples/with-static-export/next-env.d.ts
@@ -2,4 +2,4 @@
///
// NOTE: This file should not be edited
-// see https://nextjs.org/docs/app/building-your-application/configuring/typescript for more information.
+// see https://nextjs.org/docs/basic-features/typescript for more information.
diff --git a/examples/with-stitches/next-env.d.ts b/examples/with-stitches/next-env.d.ts
index a4a7b3f5cfa2f..4f11a03dc6cc3 100644
--- a/examples/with-stitches/next-env.d.ts
+++ b/examples/with-stitches/next-env.d.ts
@@ -2,4 +2,4 @@
///
// NOTE: This file should not be edited
-// see https://nextjs.org/docs/pages/building-your-application/configuring/typescript for more information.
+// see https://nextjs.org/docs/basic-features/typescript for more information.
diff --git a/examples/with-storybook-styled-jsx-scss/next-env.d.ts b/examples/with-storybook-styled-jsx-scss/next-env.d.ts
index a4a7b3f5cfa2f..4f11a03dc6cc3 100644
--- a/examples/with-storybook-styled-jsx-scss/next-env.d.ts
+++ b/examples/with-storybook-styled-jsx-scss/next-env.d.ts
@@ -2,4 +2,4 @@
///
// NOTE: This file should not be edited
-// see https://nextjs.org/docs/pages/building-your-application/configuring/typescript for more information.
+// see https://nextjs.org/docs/basic-features/typescript for more information.
diff --git a/examples/with-stripe-typescript/next-env.d.ts b/examples/with-stripe-typescript/next-env.d.ts
index 40c3d68096c27..4f11a03dc6cc3 100644
--- a/examples/with-stripe-typescript/next-env.d.ts
+++ b/examples/with-stripe-typescript/next-env.d.ts
@@ -2,4 +2,4 @@
///
// NOTE: This file should not be edited
-// see https://nextjs.org/docs/app/building-your-application/configuring/typescript for more information.
+// see https://nextjs.org/docs/basic-features/typescript for more information.
diff --git a/examples/with-styled-components-babel/next-env.d.ts b/examples/with-styled-components-babel/next-env.d.ts
index a4a7b3f5cfa2f..4f11a03dc6cc3 100644
--- a/examples/with-styled-components-babel/next-env.d.ts
+++ b/examples/with-styled-components-babel/next-env.d.ts
@@ -2,4 +2,4 @@
///
// NOTE: This file should not be edited
-// see https://nextjs.org/docs/pages/building-your-application/configuring/typescript for more information.
+// see https://nextjs.org/docs/basic-features/typescript for more information.
diff --git a/examples/with-styled-components-rtl/next-env.d.ts b/examples/with-styled-components-rtl/next-env.d.ts
index a4a7b3f5cfa2f..4f11a03dc6cc3 100644
--- a/examples/with-styled-components-rtl/next-env.d.ts
+++ b/examples/with-styled-components-rtl/next-env.d.ts
@@ -2,4 +2,4 @@
///
// NOTE: This file should not be edited
-// see https://nextjs.org/docs/pages/building-your-application/configuring/typescript for more information.
+// see https://nextjs.org/docs/basic-features/typescript for more information.
diff --git a/examples/with-styled-components/next-env.d.ts b/examples/with-styled-components/next-env.d.ts
index a4a7b3f5cfa2f..4f11a03dc6cc3 100644
--- a/examples/with-styled-components/next-env.d.ts
+++ b/examples/with-styled-components/next-env.d.ts
@@ -2,4 +2,4 @@
///
// NOTE: This file should not be edited
-// see https://nextjs.org/docs/pages/building-your-application/configuring/typescript for more information.
+// see https://nextjs.org/docs/basic-features/typescript for more information.
diff --git a/examples/with-styled-jsx-plugins/next-env.d.ts b/examples/with-styled-jsx-plugins/next-env.d.ts
index a4a7b3f5cfa2f..4f11a03dc6cc3 100644
--- a/examples/with-styled-jsx-plugins/next-env.d.ts
+++ b/examples/with-styled-jsx-plugins/next-env.d.ts
@@ -2,4 +2,4 @@
///
// NOTE: This file should not be edited
-// see https://nextjs.org/docs/pages/building-your-application/configuring/typescript for more information.
+// see https://nextjs.org/docs/basic-features/typescript for more information.
diff --git a/examples/with-styled-jsx-scss/next-env.d.ts b/examples/with-styled-jsx-scss/next-env.d.ts
index a4a7b3f5cfa2f..4f11a03dc6cc3 100644
--- a/examples/with-styled-jsx-scss/next-env.d.ts
+++ b/examples/with-styled-jsx-scss/next-env.d.ts
@@ -2,4 +2,4 @@
///
// NOTE: This file should not be edited
-// see https://nextjs.org/docs/pages/building-your-application/configuring/typescript for more information.
+// see https://nextjs.org/docs/basic-features/typescript for more information.
diff --git a/examples/with-styled-jsx/next-env.d.ts b/examples/with-styled-jsx/next-env.d.ts
index a4a7b3f5cfa2f..4f11a03dc6cc3 100644
--- a/examples/with-styled-jsx/next-env.d.ts
+++ b/examples/with-styled-jsx/next-env.d.ts
@@ -2,4 +2,4 @@
///
// NOTE: This file should not be edited
-// see https://nextjs.org/docs/pages/building-your-application/configuring/typescript for more information.
+// see https://nextjs.org/docs/basic-features/typescript for more information.
diff --git a/examples/with-temporal/next-env.d.ts b/examples/with-temporal/next-env.d.ts
index a4a7b3f5cfa2f..4f11a03dc6cc3 100644
--- a/examples/with-temporal/next-env.d.ts
+++ b/examples/with-temporal/next-env.d.ts
@@ -2,4 +2,4 @@
///
// NOTE: This file should not be edited
-// see https://nextjs.org/docs/pages/building-your-application/configuring/typescript for more information.
+// see https://nextjs.org/docs/basic-features/typescript for more information.
diff --git a/examples/with-tigris/next-env.d.ts b/examples/with-tigris/next-env.d.ts
index a4a7b3f5cfa2f..4f11a03dc6cc3 100644
--- a/examples/with-tigris/next-env.d.ts
+++ b/examples/with-tigris/next-env.d.ts
@@ -2,4 +2,4 @@
///
// NOTE: This file should not be edited
-// see https://nextjs.org/docs/pages/building-your-application/configuring/typescript for more information.
+// see https://nextjs.org/docs/basic-features/typescript for more information.
diff --git a/examples/with-turbopack/next-env.d.ts b/examples/with-turbopack/next-env.d.ts
index 40c3d68096c27..4f11a03dc6cc3 100644
--- a/examples/with-turbopack/next-env.d.ts
+++ b/examples/with-turbopack/next-env.d.ts
@@ -2,4 +2,4 @@
///
// NOTE: This file should not be edited
-// see https://nextjs.org/docs/app/building-your-application/configuring/typescript for more information.
+// see https://nextjs.org/docs/basic-features/typescript for more information.
diff --git a/examples/with-typescript-graphql/next-env.d.ts b/examples/with-typescript-graphql/next-env.d.ts
index a4a7b3f5cfa2f..4f11a03dc6cc3 100644
--- a/examples/with-typescript-graphql/next-env.d.ts
+++ b/examples/with-typescript-graphql/next-env.d.ts
@@ -2,4 +2,4 @@
///
// NOTE: This file should not be edited
-// see https://nextjs.org/docs/pages/building-your-application/configuring/typescript for more information.
+// see https://nextjs.org/docs/basic-features/typescript for more information.
diff --git a/examples/with-typescript-types/next-env.d.ts b/examples/with-typescript-types/next-env.d.ts
index a4a7b3f5cfa2f..4f11a03dc6cc3 100644
--- a/examples/with-typescript-types/next-env.d.ts
+++ b/examples/with-typescript-types/next-env.d.ts
@@ -2,4 +2,4 @@
///
// NOTE: This file should not be edited
-// see https://nextjs.org/docs/pages/building-your-application/configuring/typescript for more information.
+// see https://nextjs.org/docs/basic-features/typescript for more information.
diff --git a/examples/with-typescript/next-env.d.ts b/examples/with-typescript/next-env.d.ts
index a4a7b3f5cfa2f..4f11a03dc6cc3 100644
--- a/examples/with-typescript/next-env.d.ts
+++ b/examples/with-typescript/next-env.d.ts
@@ -2,4 +2,4 @@
///
// NOTE: This file should not be edited
-// see https://nextjs.org/docs/pages/building-your-application/configuring/typescript for more information.
+// see https://nextjs.org/docs/basic-features/typescript for more information.
diff --git a/examples/with-unsplash/next-env.d.ts b/examples/with-unsplash/next-env.d.ts
index a4a7b3f5cfa2f..4f11a03dc6cc3 100644
--- a/examples/with-unsplash/next-env.d.ts
+++ b/examples/with-unsplash/next-env.d.ts
@@ -2,4 +2,4 @@
///
// NOTE: This file should not be edited
-// see https://nextjs.org/docs/pages/building-your-application/configuring/typescript for more information.
+// see https://nextjs.org/docs/basic-features/typescript for more information.
diff --git a/examples/with-vanilla-extract/next-env.d.ts b/examples/with-vanilla-extract/next-env.d.ts
index 40c3d68096c27..4f11a03dc6cc3 100644
--- a/examples/with-vanilla-extract/next-env.d.ts
+++ b/examples/with-vanilla-extract/next-env.d.ts
@@ -2,4 +2,4 @@
///
// NOTE: This file should not be edited
-// see https://nextjs.org/docs/app/building-your-application/configuring/typescript for more information.
+// see https://nextjs.org/docs/basic-features/typescript for more information.
diff --git a/examples/with-vercel-fetch/next-env.d.ts b/examples/with-vercel-fetch/next-env.d.ts
index a4a7b3f5cfa2f..4f11a03dc6cc3 100644
--- a/examples/with-vercel-fetch/next-env.d.ts
+++ b/examples/with-vercel-fetch/next-env.d.ts
@@ -2,4 +2,4 @@
///
// NOTE: This file should not be edited
-// see https://nextjs.org/docs/pages/building-your-application/configuring/typescript for more information.
+// see https://nextjs.org/docs/basic-features/typescript for more information.
diff --git a/examples/with-videojs/next-env.d.ts b/examples/with-videojs/next-env.d.ts
index a4a7b3f5cfa2f..4f11a03dc6cc3 100644
--- a/examples/with-videojs/next-env.d.ts
+++ b/examples/with-videojs/next-env.d.ts
@@ -2,4 +2,4 @@
///
// NOTE: This file should not be edited
-// see https://nextjs.org/docs/pages/building-your-application/configuring/typescript for more information.
+// see https://nextjs.org/docs/basic-features/typescript for more information.
diff --git a/examples/with-vitest/next-env.d.ts b/examples/with-vitest/next-env.d.ts
index 40c3d68096c27..4f11a03dc6cc3 100644
--- a/examples/with-vitest/next-env.d.ts
+++ b/examples/with-vitest/next-env.d.ts
@@ -2,4 +2,4 @@
///
// NOTE: This file should not be edited
-// see https://nextjs.org/docs/app/building-your-application/configuring/typescript for more information.
+// see https://nextjs.org/docs/basic-features/typescript for more information.
diff --git a/examples/with-web-worker/next-env.d.ts b/examples/with-web-worker/next-env.d.ts
index a4a7b3f5cfa2f..4f11a03dc6cc3 100644
--- a/examples/with-web-worker/next-env.d.ts
+++ b/examples/with-web-worker/next-env.d.ts
@@ -2,4 +2,4 @@
///
// NOTE: This file should not be edited
-// see https://nextjs.org/docs/pages/building-your-application/configuring/typescript for more information.
+// see https://nextjs.org/docs/basic-features/typescript for more information.
diff --git a/examples/with-webassembly/next-env.d.ts b/examples/with-webassembly/next-env.d.ts
index 40c3d68096c27..4f11a03dc6cc3 100644
--- a/examples/with-webassembly/next-env.d.ts
+++ b/examples/with-webassembly/next-env.d.ts
@@ -2,4 +2,4 @@
///
// NOTE: This file should not be edited
-// see https://nextjs.org/docs/app/building-your-application/configuring/typescript for more information.
+// see https://nextjs.org/docs/basic-features/typescript for more information.
diff --git a/examples/with-windicss/next-env.d.ts b/examples/with-windicss/next-env.d.ts
index a4a7b3f5cfa2f..4f11a03dc6cc3 100644
--- a/examples/with-windicss/next-env.d.ts
+++ b/examples/with-windicss/next-env.d.ts
@@ -2,4 +2,4 @@
///
// NOTE: This file should not be edited
-// see https://nextjs.org/docs/pages/building-your-application/configuring/typescript for more information.
+// see https://nextjs.org/docs/basic-features/typescript for more information.
diff --git a/examples/with-xata/next-env.d.ts b/examples/with-xata/next-env.d.ts
index a4a7b3f5cfa2f..4f11a03dc6cc3 100644
--- a/examples/with-xata/next-env.d.ts
+++ b/examples/with-xata/next-env.d.ts
@@ -2,4 +2,4 @@
///
// NOTE: This file should not be edited
-// see https://nextjs.org/docs/pages/building-your-application/configuring/typescript for more information.
+// see https://nextjs.org/docs/basic-features/typescript for more information.
diff --git a/examples/with-xstate/next-env.d.ts b/examples/with-xstate/next-env.d.ts
index a4a7b3f5cfa2f..4f11a03dc6cc3 100644
--- a/examples/with-xstate/next-env.d.ts
+++ b/examples/with-xstate/next-env.d.ts
@@ -2,4 +2,4 @@
///
// NOTE: This file should not be edited
-// see https://nextjs.org/docs/pages/building-your-application/configuring/typescript for more information.
+// see https://nextjs.org/docs/basic-features/typescript for more information.
diff --git a/examples/with-yoga/next-env.d.ts b/examples/with-yoga/next-env.d.ts
index a4a7b3f5cfa2f..4f11a03dc6cc3 100644
--- a/examples/with-yoga/next-env.d.ts
+++ b/examples/with-yoga/next-env.d.ts
@@ -2,4 +2,4 @@
///
// NOTE: This file should not be edited
-// see https://nextjs.org/docs/pages/building-your-application/configuring/typescript for more information.
+// see https://nextjs.org/docs/basic-features/typescript for more information.
diff --git a/examples/with-zustand/next-env.d.ts b/examples/with-zustand/next-env.d.ts
index a4a7b3f5cfa2f..4f11a03dc6cc3 100644
--- a/examples/with-zustand/next-env.d.ts
+++ b/examples/with-zustand/next-env.d.ts
@@ -2,4 +2,4 @@
///
// NOTE: This file should not be edited
-// see https://nextjs.org/docs/pages/building-your-application/configuring/typescript for more information.
+// see https://nextjs.org/docs/basic-features/typescript for more information.
From 19956acc48b33f41639476d7f89ee0154986f27c Mon Sep 17 00:00:00 2001
From: Matvey Ryabchikov <35634442+ronanru@users.noreply.github.com>
Date: Fri, 9 Aug 2024 23:40:07 +0300
Subject: [PATCH 06/10] ignore next-env.d.ts in check-examples.sh
---
scripts/check-examples.sh | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/scripts/check-examples.sh b/scripts/check-examples.sh
index 8977bf6c7e640..b4b903fd1cb30 100755
--- a/scripts/check-examples.sh
+++ b/scripts/check-examples.sh
@@ -15,8 +15,8 @@ for folder in examples/* ; do
fi
done;
-if [[ ! -z $(git status -s) ]];then
+if [[ ! -z $(git status -s | grep -v '/next-env.d.ts') ]];then
echo "Detected changes"
- git status
+ git status | grep -v '/next-env.d.ts'
exit 1
fi
From 58626e691daf66ec22081c49b135015cf55093c6 Mon Sep 17 00:00:00 2001
From: Matvey Ryabchikov <35634442+ronanru@users.noreply.github.com>
Date: Fri, 9 Aug 2024 23:48:07 +0300
Subject: [PATCH 07/10] Revert "ignore next-env.d.ts in check-examples.sh"
This reverts commit 19956acc48b33f41639476d7f89ee0154986f27c.
---
scripts/check-examples.sh | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/scripts/check-examples.sh b/scripts/check-examples.sh
index b4b903fd1cb30..8977bf6c7e640 100755
--- a/scripts/check-examples.sh
+++ b/scripts/check-examples.sh
@@ -15,8 +15,8 @@ for folder in examples/* ; do
fi
done;
-if [[ ! -z $(git status -s | grep -v '/next-env.d.ts') ]];then
+if [[ ! -z $(git status -s) ]];then
echo "Detected changes"
- git status | grep -v '/next-env.d.ts'
+ git status
exit 1
fi
From db9041eae4a8c3fce4e3689dc86b1358e0af729f Mon Sep 17 00:00:00 2001
From: Matvey Ryabchikov <35634442+ronanru@users.noreply.github.com>
Date: Sat, 10 Aug 2024 00:32:28 +0300
Subject: [PATCH 08/10] copy correct next-env.d.ts in check-examples.sh
---
examples/cms-payload/app/next-env.d.ts | 5 +++++
scripts/check-examples.sh | 6 +++++-
.../typescript-app-type-declarations/next-env.d.ts | 2 +-
3 files changed, 11 insertions(+), 2 deletions(-)
create mode 100644 examples/cms-payload/app/next-env.d.ts
diff --git a/examples/cms-payload/app/next-env.d.ts b/examples/cms-payload/app/next-env.d.ts
new file mode 100644
index 0000000000000..40c3d68096c27
--- /dev/null
+++ b/examples/cms-payload/app/next-env.d.ts
@@ -0,0 +1,5 @@
+///
+///
+
+// NOTE: This file should not be edited
+// see https://nextjs.org/docs/app/building-your-application/configuring/typescript for more information.
diff --git a/scripts/check-examples.sh b/scripts/check-examples.sh
index 8977bf6c7e640..9c3515c8de03e 100755
--- a/scripts/check-examples.sh
+++ b/scripts/check-examples.sh
@@ -8,7 +8,11 @@ for folder in examples/* ; do
' | sponge $folder/package.json
fi
if [ -f "$folder/tsconfig.json" ]; then
- cp packages/create-next-app/templates/default/ts/next-env.d.ts $folder/next-env.d.ts
+if [ -d "$folder/app" ]; then
+ cp packages/create-next-app/templates/app/ts/next-env.d.ts $folder/app/next-env.d.ts
+ else
+ cp packages/create-next-app/templates/default/ts/next-env.d.ts $folder/next-env.d.ts
+ fi
fi
if [ ! -f "$folder/.gitignore" ]; then
cp packages/create-next-app/templates/default/js/gitignore $folder/.gitignore;
diff --git a/test/integration/typescript-app-type-declarations/next-env.d.ts b/test/integration/typescript-app-type-declarations/next-env.d.ts
index 157836b0537b5..a4a7b3f5cfa2f 100644
--- a/test/integration/typescript-app-type-declarations/next-env.d.ts
+++ b/test/integration/typescript-app-type-declarations/next-env.d.ts
@@ -2,4 +2,4 @@
///
// NOTE: This file should not be edited
-// see https://nextjs.org/docs/pages/building-your-application/configuring/typescript for mo for more information.
+// see https://nextjs.org/docs/pages/building-your-application/configuring/typescript for more information.
From ad8c7ac4f86dcd5fb4ad23a422f2002fad4406d1 Mon Sep 17 00:00:00 2001
From: Matvey Ryabchikov <35634442+ronanru@users.noreply.github.com>
Date: Sat, 10 Aug 2024 00:34:13 +0300
Subject: [PATCH 09/10] fix formatting
---
scripts/check-examples.sh | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/scripts/check-examples.sh b/scripts/check-examples.sh
index 9c3515c8de03e..b2a75073db7fe 100755
--- a/scripts/check-examples.sh
+++ b/scripts/check-examples.sh
@@ -8,7 +8,7 @@ for folder in examples/* ; do
' | sponge $folder/package.json
fi
if [ -f "$folder/tsconfig.json" ]; then
-if [ -d "$folder/app" ]; then
+ if [ -d "$folder/app" ]; then
cp packages/create-next-app/templates/app/ts/next-env.d.ts $folder/app/next-env.d.ts
else
cp packages/create-next-app/templates/default/ts/next-env.d.ts $folder/next-env.d.ts
From 746a003c466a9fba6c060347443bea725dc263f4 Mon Sep 17 00:00:00 2001
From: Matvey Ryabchikov <35634442+ronanru@users.noreply.github.com>
Date: Sat, 10 Aug 2024 00:40:12 +0300
Subject: [PATCH 10/10] update next-env.d.ts in all examples
---
examples/active-class-name/next-env.d.ts | 2 +-
examples/amp/next-env.d.ts | 2 +-
examples/analyze-bundles/next-env.d.ts | 2 +-
.../api-routes-apollo-server-and-client-auth/next-env.d.ts | 2 +-
examples/api-routes-apollo-server-and-client/next-env.d.ts | 2 +-
examples/api-routes-apollo-server/next-env.d.ts | 2 +-
examples/api-routes-cors/next-env.d.ts | 2 +-
examples/api-routes-graphql/next-env.d.ts | 2 +-
examples/api-routes-middleware/next-env.d.ts | 2 +-
examples/api-routes-rate-limit/next-env.d.ts | 2 +-
examples/api-routes-rest/next-env.d.ts | 2 +-
examples/api-routes/next-env.d.ts | 2 +-
examples/app-dir-i18n-routing/next-env.d.ts | 2 +-
examples/app-dir-mdx/next-env.d.ts | 2 +-
examples/auth0/next-env.d.ts | 2 +-
examples/basic-css/next-env.d.ts | 2 +-
examples/basic-export/next-env.d.ts | 2 +-
examples/blog-starter/next-env.d.ts | 2 +-
examples/blog-with-comment/next-env.d.ts | 2 +-
examples/blog/next-env.d.ts | 2 +-
examples/catch-all-routes/next-env.d.ts | 2 +-
examples/cloudflare-turnstile/next-env.d.ts | 2 +-
examples/cms-agilitycms/next-env.d.ts | 2 +-
examples/cms-cosmic/next-env.d.ts | 2 +-
examples/cms-dotcms/next-env.d.ts | 2 +-
examples/cms-enterspeed/next-env.d.ts | 2 +-
examples/cms-kontent-ai/next-env.d.ts | 2 +-
examples/cms-makeswift/next-env.d.ts | 2 +-
examples/cms-payload/app/next-env.d.ts | 5 -----
examples/cms-payload/next-env.d.ts | 2 +-
examples/cms-plasmic/next-env.d.ts | 2 +-
examples/cms-prismic/next-env.d.ts | 2 +-
examples/cms-sitecore-xmcloud/next-env.d.ts | 2 +-
examples/cms-sitefinity/next-env.d.ts | 2 +-
examples/cms-webiny/next-env.d.ts | 2 +-
examples/cms-wordpress/next-env.d.ts | 2 +-
examples/convex/next-env.d.ts | 2 +-
examples/custom-routes-proxying/next-env.d.ts | 2 +-
examples/custom-server/next-env.d.ts | 2 +-
examples/dynamic-routing/next-env.d.ts | 2 +-
examples/environment-variables/next-env.d.ts | 2 +-
examples/github-pages/next-env.d.ts | 2 +-
examples/head-elements/next-env.d.ts | 2 +-
examples/headers/next-env.d.ts | 2 +-
examples/i18n-routing/next-env.d.ts | 2 +-
examples/image-component/next-env.d.ts | 2 +-
examples/image-legacy-component/next-env.d.ts | 2 +-
examples/layout-component/next-env.d.ts | 2 +-
examples/markdoc/next-env.d.ts | 2 +-
examples/middleware-matcher/next-env.d.ts | 2 +-
examples/middleware/next-env.d.ts | 2 +-
examples/modularize-imports/next-env.d.ts | 2 +-
examples/nested-components/next-env.d.ts | 2 +-
examples/next-css/next-env.d.ts | 2 +-
examples/next-forms/next-env.d.ts | 2 +-
examples/next-offline/next-env.d.ts | 2 +-
examples/progressive-web-app/next-env.d.ts | 2 +-
examples/radix-ui/next-env.d.ts | 2 +-
examples/react-remove-properties/next-env.d.ts | 2 +-
examples/redirects/next-env.d.ts | 2 +-
examples/remove-console/next-env.d.ts | 2 +-
examples/reproduction-template/next-env.d.ts | 2 +-
examples/rewrites/next-env.d.ts | 2 +-
examples/script-component/next-env.d.ts | 2 +-
examples/ssr-caching/next-env.d.ts | 2 +-
examples/svg-components/next-env.d.ts | 2 +-
examples/with-ably/next-env.d.ts | 2 +-
examples/with-absolute-imports/next-env.d.ts | 2 +-
examples/with-algolia-react-instantsearch/next-env.d.ts | 2 +-
examples/with-ant-design/next-env.d.ts | 2 +-
examples/with-apivideo/next-env.d.ts | 2 +-
examples/with-axiom/next-env.d.ts | 2 +-
examples/with-chakra-ui/next-env.d.ts | 2 +-
examples/with-cloudinary/next-env.d.ts | 2 +-
examples/with-context-api/next-env.d.ts | 2 +-
examples/with-cookies-next/next-env.d.ts | 2 +-
examples/with-cssed/next-env.d.ts | 2 +-
examples/with-cxs/next-env.d.ts | 2 +-
examples/with-cypress/next-env.d.ts | 2 +-
examples/with-dynamic-import/next-env.d.ts | 2 +-
examples/with-edgedb/next-env.d.ts | 2 +-
examples/with-expo-typescript/next-env.d.ts | 2 +-
examples/with-fingerprintjs-pro/next-env.d.ts | 2 +-
examples/with-goober/next-env.d.ts | 2 +-
examples/with-grafbase/next-env.d.ts | 2 +-
examples/with-graphql-gateway/next-env.d.ts | 2 +-
examples/with-gsap/next-env.d.ts | 2 +-
examples/with-ionic-typescript/next-env.d.ts | 2 +-
examples/with-jest-babel/next-env.d.ts | 2 +-
examples/with-jest/next-env.d.ts | 2 +-
examples/with-jotai/next-env.d.ts | 2 +-
examples/with-linaria/next-env.d.ts | 2 +-
examples/with-mantine/next-env.d.ts | 2 +-
examples/with-mobx-state-tree/next-env.d.ts | 2 +-
examples/with-mongodb-mongoose/next-env.d.ts | 2 +-
examples/with-mongodb/next-env.d.ts | 2 +-
examples/with-mqtt-js/next-env.d.ts | 2 +-
examples/with-msw/next-env.d.ts | 2 +-
examples/with-mux-video/next-env.d.ts | 2 +-
examples/with-next-sitemap/next-env.d.ts | 2 +-
examples/with-next-ui/next-env.d.ts | 2 +-
examples/with-opentelemetry/next-env.d.ts | 2 +-
examples/with-particles/next-env.d.ts | 2 +-
examples/with-paste-typescript/next-env.d.ts | 2 +-
examples/with-postgres/next-env.d.ts | 2 +-
examples/with-prefetching/next-env.d.ts | 2 +-
examples/with-react-foundation/next-env.d.ts | 2 +-
examples/with-react-hook-form/next-env.d.ts | 2 +-
examples/with-react-intl/next-env.d.ts | 2 +-
examples/with-react-jss/next-env.d.ts | 2 +-
examples/with-react-md-typescript/next-env.d.ts | 2 +-
examples/with-react-multi-carousel/next-env.d.ts | 2 +-
examples/with-redis/next-env.d.ts | 2 +-
examples/with-redux/next-env.d.ts | 2 +-
examples/with-reflexjs/next-env.d.ts | 2 +-
examples/with-sentry/next-env.d.ts | 2 +-
examples/with-service-worker/next-env.d.ts | 2 +-
examples/with-sfcc/next-env.d.ts | 2 +-
examples/with-slate/next-env.d.ts | 2 +-
examples/with-static-export/next-env.d.ts | 2 +-
examples/with-stitches/next-env.d.ts | 2 +-
examples/with-storybook-styled-jsx-scss/next-env.d.ts | 2 +-
examples/with-stripe-typescript/next-env.d.ts | 2 +-
examples/with-styled-components-babel/next-env.d.ts | 2 +-
examples/with-styled-components-rtl/next-env.d.ts | 2 +-
examples/with-styled-components/next-env.d.ts | 2 +-
examples/with-styled-jsx-plugins/next-env.d.ts | 2 +-
examples/with-styled-jsx-scss/next-env.d.ts | 2 +-
examples/with-styled-jsx/next-env.d.ts | 2 +-
examples/with-temporal/next-env.d.ts | 2 +-
examples/with-tigris/next-env.d.ts | 2 +-
examples/with-turbopack/next-env.d.ts | 2 +-
examples/with-typescript-graphql/next-env.d.ts | 2 +-
examples/with-typescript-types/next-env.d.ts | 2 +-
examples/with-typescript/next-env.d.ts | 2 +-
examples/with-unsplash/next-env.d.ts | 2 +-
examples/with-vanilla-extract/next-env.d.ts | 2 +-
examples/with-vercel-fetch/next-env.d.ts | 2 +-
examples/with-videojs/next-env.d.ts | 2 +-
examples/with-vitest/next-env.d.ts | 2 +-
examples/with-web-worker/next-env.d.ts | 2 +-
examples/with-webassembly/next-env.d.ts | 2 +-
examples/with-windicss/next-env.d.ts | 2 +-
examples/with-xata/next-env.d.ts | 2 +-
examples/with-xstate/next-env.d.ts | 2 +-
examples/with-yoga/next-env.d.ts | 2 +-
examples/with-zustand/next-env.d.ts | 2 +-
scripts/check-examples.sh | 2 +-
148 files changed, 147 insertions(+), 152 deletions(-)
delete mode 100644 examples/cms-payload/app/next-env.d.ts
diff --git a/examples/active-class-name/next-env.d.ts b/examples/active-class-name/next-env.d.ts
index 4f11a03dc6cc3..40c3d68096c27 100644
--- a/examples/active-class-name/next-env.d.ts
+++ b/examples/active-class-name/next-env.d.ts
@@ -2,4 +2,4 @@
///
// NOTE: This file should not be edited
-// see https://nextjs.org/docs/basic-features/typescript for more information.
+// see https://nextjs.org/docs/app/building-your-application/configuring/typescript for more information.
diff --git a/examples/amp/next-env.d.ts b/examples/amp/next-env.d.ts
index 4f11a03dc6cc3..a4a7b3f5cfa2f 100644
--- a/examples/amp/next-env.d.ts
+++ b/examples/amp/next-env.d.ts
@@ -2,4 +2,4 @@
///
// NOTE: This file should not be edited
-// see https://nextjs.org/docs/basic-features/typescript for more information.
+// see https://nextjs.org/docs/pages/building-your-application/configuring/typescript for more information.
diff --git a/examples/analyze-bundles/next-env.d.ts b/examples/analyze-bundles/next-env.d.ts
index 4f11a03dc6cc3..40c3d68096c27 100644
--- a/examples/analyze-bundles/next-env.d.ts
+++ b/examples/analyze-bundles/next-env.d.ts
@@ -2,4 +2,4 @@
///
// NOTE: This file should not be edited
-// see https://nextjs.org/docs/basic-features/typescript for more information.
+// see https://nextjs.org/docs/app/building-your-application/configuring/typescript for more information.
diff --git a/examples/api-routes-apollo-server-and-client-auth/next-env.d.ts b/examples/api-routes-apollo-server-and-client-auth/next-env.d.ts
index 4f11a03dc6cc3..a4a7b3f5cfa2f 100644
--- a/examples/api-routes-apollo-server-and-client-auth/next-env.d.ts
+++ b/examples/api-routes-apollo-server-and-client-auth/next-env.d.ts
@@ -2,4 +2,4 @@
///
// NOTE: This file should not be edited
-// see https://nextjs.org/docs/basic-features/typescript for more information.
+// see https://nextjs.org/docs/pages/building-your-application/configuring/typescript for more information.
diff --git a/examples/api-routes-apollo-server-and-client/next-env.d.ts b/examples/api-routes-apollo-server-and-client/next-env.d.ts
index 4f11a03dc6cc3..a4a7b3f5cfa2f 100644
--- a/examples/api-routes-apollo-server-and-client/next-env.d.ts
+++ b/examples/api-routes-apollo-server-and-client/next-env.d.ts
@@ -2,4 +2,4 @@
///
// NOTE: This file should not be edited
-// see https://nextjs.org/docs/basic-features/typescript for more information.
+// see https://nextjs.org/docs/pages/building-your-application/configuring/typescript for more information.
diff --git a/examples/api-routes-apollo-server/next-env.d.ts b/examples/api-routes-apollo-server/next-env.d.ts
index 4f11a03dc6cc3..a4a7b3f5cfa2f 100644
--- a/examples/api-routes-apollo-server/next-env.d.ts
+++ b/examples/api-routes-apollo-server/next-env.d.ts
@@ -2,4 +2,4 @@
///
// NOTE: This file should not be edited
-// see https://nextjs.org/docs/basic-features/typescript for more information.
+// see https://nextjs.org/docs/pages/building-your-application/configuring/typescript for more information.
diff --git a/examples/api-routes-cors/next-env.d.ts b/examples/api-routes-cors/next-env.d.ts
index 4f11a03dc6cc3..a4a7b3f5cfa2f 100644
--- a/examples/api-routes-cors/next-env.d.ts
+++ b/examples/api-routes-cors/next-env.d.ts
@@ -2,4 +2,4 @@
///
// NOTE: This file should not be edited
-// see https://nextjs.org/docs/basic-features/typescript for more information.
+// see https://nextjs.org/docs/pages/building-your-application/configuring/typescript for more information.
diff --git a/examples/api-routes-graphql/next-env.d.ts b/examples/api-routes-graphql/next-env.d.ts
index 4f11a03dc6cc3..a4a7b3f5cfa2f 100644
--- a/examples/api-routes-graphql/next-env.d.ts
+++ b/examples/api-routes-graphql/next-env.d.ts
@@ -2,4 +2,4 @@
///
// NOTE: This file should not be edited
-// see https://nextjs.org/docs/basic-features/typescript for more information.
+// see https://nextjs.org/docs/pages/building-your-application/configuring/typescript for more information.
diff --git a/examples/api-routes-middleware/next-env.d.ts b/examples/api-routes-middleware/next-env.d.ts
index 4f11a03dc6cc3..a4a7b3f5cfa2f 100644
--- a/examples/api-routes-middleware/next-env.d.ts
+++ b/examples/api-routes-middleware/next-env.d.ts
@@ -2,4 +2,4 @@
///
// NOTE: This file should not be edited
-// see https://nextjs.org/docs/basic-features/typescript for more information.
+// see https://nextjs.org/docs/pages/building-your-application/configuring/typescript for more information.
diff --git a/examples/api-routes-rate-limit/next-env.d.ts b/examples/api-routes-rate-limit/next-env.d.ts
index 4f11a03dc6cc3..a4a7b3f5cfa2f 100644
--- a/examples/api-routes-rate-limit/next-env.d.ts
+++ b/examples/api-routes-rate-limit/next-env.d.ts
@@ -2,4 +2,4 @@
///
// NOTE: This file should not be edited
-// see https://nextjs.org/docs/basic-features/typescript for more information.
+// see https://nextjs.org/docs/pages/building-your-application/configuring/typescript for more information.
diff --git a/examples/api-routes-rest/next-env.d.ts b/examples/api-routes-rest/next-env.d.ts
index 4f11a03dc6cc3..a4a7b3f5cfa2f 100644
--- a/examples/api-routes-rest/next-env.d.ts
+++ b/examples/api-routes-rest/next-env.d.ts
@@ -2,4 +2,4 @@
///
// NOTE: This file should not be edited
-// see https://nextjs.org/docs/basic-features/typescript for more information.
+// see https://nextjs.org/docs/pages/building-your-application/configuring/typescript for more information.
diff --git a/examples/api-routes/next-env.d.ts b/examples/api-routes/next-env.d.ts
index 4f11a03dc6cc3..a4a7b3f5cfa2f 100644
--- a/examples/api-routes/next-env.d.ts
+++ b/examples/api-routes/next-env.d.ts
@@ -2,4 +2,4 @@
///
// NOTE: This file should not be edited
-// see https://nextjs.org/docs/basic-features/typescript for more information.
+// see https://nextjs.org/docs/pages/building-your-application/configuring/typescript for more information.
diff --git a/examples/app-dir-i18n-routing/next-env.d.ts b/examples/app-dir-i18n-routing/next-env.d.ts
index 4f11a03dc6cc3..40c3d68096c27 100644
--- a/examples/app-dir-i18n-routing/next-env.d.ts
+++ b/examples/app-dir-i18n-routing/next-env.d.ts
@@ -2,4 +2,4 @@
///
// NOTE: This file should not be edited
-// see https://nextjs.org/docs/basic-features/typescript for more information.
+// see https://nextjs.org/docs/app/building-your-application/configuring/typescript for more information.
diff --git a/examples/app-dir-mdx/next-env.d.ts b/examples/app-dir-mdx/next-env.d.ts
index 4f11a03dc6cc3..40c3d68096c27 100644
--- a/examples/app-dir-mdx/next-env.d.ts
+++ b/examples/app-dir-mdx/next-env.d.ts
@@ -2,4 +2,4 @@
///
// NOTE: This file should not be edited
-// see https://nextjs.org/docs/basic-features/typescript for more information.
+// see https://nextjs.org/docs/app/building-your-application/configuring/typescript for more information.
diff --git a/examples/auth0/next-env.d.ts b/examples/auth0/next-env.d.ts
index 4f11a03dc6cc3..a4a7b3f5cfa2f 100644
--- a/examples/auth0/next-env.d.ts
+++ b/examples/auth0/next-env.d.ts
@@ -2,4 +2,4 @@
///
// NOTE: This file should not be edited
-// see https://nextjs.org/docs/basic-features/typescript for more information.
+// see https://nextjs.org/docs/pages/building-your-application/configuring/typescript for more information.
diff --git a/examples/basic-css/next-env.d.ts b/examples/basic-css/next-env.d.ts
index 4f11a03dc6cc3..40c3d68096c27 100644
--- a/examples/basic-css/next-env.d.ts
+++ b/examples/basic-css/next-env.d.ts
@@ -2,4 +2,4 @@
///
// NOTE: This file should not be edited
-// see https://nextjs.org/docs/basic-features/typescript for more information.
+// see https://nextjs.org/docs/app/building-your-application/configuring/typescript for more information.
diff --git a/examples/basic-export/next-env.d.ts b/examples/basic-export/next-env.d.ts
index 4f11a03dc6cc3..40c3d68096c27 100644
--- a/examples/basic-export/next-env.d.ts
+++ b/examples/basic-export/next-env.d.ts
@@ -2,4 +2,4 @@
///
// NOTE: This file should not be edited
-// see https://nextjs.org/docs/basic-features/typescript for more information.
+// see https://nextjs.org/docs/app/building-your-application/configuring/typescript for more information.
diff --git a/examples/blog-starter/next-env.d.ts b/examples/blog-starter/next-env.d.ts
index 4f11a03dc6cc3..a4a7b3f5cfa2f 100644
--- a/examples/blog-starter/next-env.d.ts
+++ b/examples/blog-starter/next-env.d.ts
@@ -2,4 +2,4 @@
///
// NOTE: This file should not be edited
-// see https://nextjs.org/docs/basic-features/typescript for more information.
+// see https://nextjs.org/docs/pages/building-your-application/configuring/typescript for more information.
diff --git a/examples/blog-with-comment/next-env.d.ts b/examples/blog-with-comment/next-env.d.ts
index 4f11a03dc6cc3..a4a7b3f5cfa2f 100644
--- a/examples/blog-with-comment/next-env.d.ts
+++ b/examples/blog-with-comment/next-env.d.ts
@@ -2,4 +2,4 @@
///
// NOTE: This file should not be edited
-// see https://nextjs.org/docs/basic-features/typescript for more information.
+// see https://nextjs.org/docs/pages/building-your-application/configuring/typescript for more information.
diff --git a/examples/blog/next-env.d.ts b/examples/blog/next-env.d.ts
index 4f11a03dc6cc3..a4a7b3f5cfa2f 100644
--- a/examples/blog/next-env.d.ts
+++ b/examples/blog/next-env.d.ts
@@ -2,4 +2,4 @@
///
// NOTE: This file should not be edited
-// see https://nextjs.org/docs/basic-features/typescript for more information.
+// see https://nextjs.org/docs/pages/building-your-application/configuring/typescript for more information.
diff --git a/examples/catch-all-routes/next-env.d.ts b/examples/catch-all-routes/next-env.d.ts
index 4f11a03dc6cc3..40c3d68096c27 100644
--- a/examples/catch-all-routes/next-env.d.ts
+++ b/examples/catch-all-routes/next-env.d.ts
@@ -2,4 +2,4 @@
///
// NOTE: This file should not be edited
-// see https://nextjs.org/docs/basic-features/typescript for more information.
+// see https://nextjs.org/docs/app/building-your-application/configuring/typescript for more information.
diff --git a/examples/cloudflare-turnstile/next-env.d.ts b/examples/cloudflare-turnstile/next-env.d.ts
index 4f11a03dc6cc3..a4a7b3f5cfa2f 100644
--- a/examples/cloudflare-turnstile/next-env.d.ts
+++ b/examples/cloudflare-turnstile/next-env.d.ts
@@ -2,4 +2,4 @@
///
// NOTE: This file should not be edited
-// see https://nextjs.org/docs/basic-features/typescript for more information.
+// see https://nextjs.org/docs/pages/building-your-application/configuring/typescript for more information.
diff --git a/examples/cms-agilitycms/next-env.d.ts b/examples/cms-agilitycms/next-env.d.ts
index 4f11a03dc6cc3..a4a7b3f5cfa2f 100644
--- a/examples/cms-agilitycms/next-env.d.ts
+++ b/examples/cms-agilitycms/next-env.d.ts
@@ -2,4 +2,4 @@
///
// NOTE: This file should not be edited
-// see https://nextjs.org/docs/basic-features/typescript for more information.
+// see https://nextjs.org/docs/pages/building-your-application/configuring/typescript for more information.
diff --git a/examples/cms-cosmic/next-env.d.ts b/examples/cms-cosmic/next-env.d.ts
index 4f11a03dc6cc3..a4a7b3f5cfa2f 100644
--- a/examples/cms-cosmic/next-env.d.ts
+++ b/examples/cms-cosmic/next-env.d.ts
@@ -2,4 +2,4 @@
///
// NOTE: This file should not be edited
-// see https://nextjs.org/docs/basic-features/typescript for more information.
+// see https://nextjs.org/docs/pages/building-your-application/configuring/typescript for more information.
diff --git a/examples/cms-dotcms/next-env.d.ts b/examples/cms-dotcms/next-env.d.ts
index 4f11a03dc6cc3..a4a7b3f5cfa2f 100644
--- a/examples/cms-dotcms/next-env.d.ts
+++ b/examples/cms-dotcms/next-env.d.ts
@@ -2,4 +2,4 @@
///
// NOTE: This file should not be edited
-// see https://nextjs.org/docs/basic-features/typescript for more information.
+// see https://nextjs.org/docs/pages/building-your-application/configuring/typescript for more information.
diff --git a/examples/cms-enterspeed/next-env.d.ts b/examples/cms-enterspeed/next-env.d.ts
index 4f11a03dc6cc3..a4a7b3f5cfa2f 100644
--- a/examples/cms-enterspeed/next-env.d.ts
+++ b/examples/cms-enterspeed/next-env.d.ts
@@ -2,4 +2,4 @@
///
// NOTE: This file should not be edited
-// see https://nextjs.org/docs/basic-features/typescript for more information.
+// see https://nextjs.org/docs/pages/building-your-application/configuring/typescript for more information.
diff --git a/examples/cms-kontent-ai/next-env.d.ts b/examples/cms-kontent-ai/next-env.d.ts
index 4f11a03dc6cc3..a4a7b3f5cfa2f 100644
--- a/examples/cms-kontent-ai/next-env.d.ts
+++ b/examples/cms-kontent-ai/next-env.d.ts
@@ -2,4 +2,4 @@
///
// NOTE: This file should not be edited
-// see https://nextjs.org/docs/basic-features/typescript for more information.
+// see https://nextjs.org/docs/pages/building-your-application/configuring/typescript for more information.
diff --git a/examples/cms-makeswift/next-env.d.ts b/examples/cms-makeswift/next-env.d.ts
index 4f11a03dc6cc3..a4a7b3f5cfa2f 100644
--- a/examples/cms-makeswift/next-env.d.ts
+++ b/examples/cms-makeswift/next-env.d.ts
@@ -2,4 +2,4 @@
///
// NOTE: This file should not be edited
-// see https://nextjs.org/docs/basic-features/typescript for more information.
+// see https://nextjs.org/docs/pages/building-your-application/configuring/typescript for more information.
diff --git a/examples/cms-payload/app/next-env.d.ts b/examples/cms-payload/app/next-env.d.ts
deleted file mode 100644
index 40c3d68096c27..0000000000000
--- a/examples/cms-payload/app/next-env.d.ts
+++ /dev/null
@@ -1,5 +0,0 @@
-///
-///
-
-// NOTE: This file should not be edited
-// see https://nextjs.org/docs/app/building-your-application/configuring/typescript for more information.
diff --git a/examples/cms-payload/next-env.d.ts b/examples/cms-payload/next-env.d.ts
index 4f11a03dc6cc3..40c3d68096c27 100644
--- a/examples/cms-payload/next-env.d.ts
+++ b/examples/cms-payload/next-env.d.ts
@@ -2,4 +2,4 @@
///
// NOTE: This file should not be edited
-// see https://nextjs.org/docs/basic-features/typescript for more information.
+// see https://nextjs.org/docs/app/building-your-application/configuring/typescript for more information.
diff --git a/examples/cms-plasmic/next-env.d.ts b/examples/cms-plasmic/next-env.d.ts
index 4f11a03dc6cc3..a4a7b3f5cfa2f 100644
--- a/examples/cms-plasmic/next-env.d.ts
+++ b/examples/cms-plasmic/next-env.d.ts
@@ -2,4 +2,4 @@
///
// NOTE: This file should not be edited
-// see https://nextjs.org/docs/basic-features/typescript for more information.
+// see https://nextjs.org/docs/pages/building-your-application/configuring/typescript for more information.
diff --git a/examples/cms-prismic/next-env.d.ts b/examples/cms-prismic/next-env.d.ts
index 4f11a03dc6cc3..a4a7b3f5cfa2f 100644
--- a/examples/cms-prismic/next-env.d.ts
+++ b/examples/cms-prismic/next-env.d.ts
@@ -2,4 +2,4 @@
///
// NOTE: This file should not be edited
-// see https://nextjs.org/docs/basic-features/typescript for more information.
+// see https://nextjs.org/docs/pages/building-your-application/configuring/typescript for more information.
diff --git a/examples/cms-sitecore-xmcloud/next-env.d.ts b/examples/cms-sitecore-xmcloud/next-env.d.ts
index 4f11a03dc6cc3..a4a7b3f5cfa2f 100644
--- a/examples/cms-sitecore-xmcloud/next-env.d.ts
+++ b/examples/cms-sitecore-xmcloud/next-env.d.ts
@@ -2,4 +2,4 @@
///
// NOTE: This file should not be edited
-// see https://nextjs.org/docs/basic-features/typescript for more information.
+// see https://nextjs.org/docs/pages/building-your-application/configuring/typescript for more information.
diff --git a/examples/cms-sitefinity/next-env.d.ts b/examples/cms-sitefinity/next-env.d.ts
index 4f11a03dc6cc3..a4a7b3f5cfa2f 100644
--- a/examples/cms-sitefinity/next-env.d.ts
+++ b/examples/cms-sitefinity/next-env.d.ts
@@ -2,4 +2,4 @@
///
// NOTE: This file should not be edited
-// see https://nextjs.org/docs/basic-features/typescript for more information.
+// see https://nextjs.org/docs/pages/building-your-application/configuring/typescript for more information.
diff --git a/examples/cms-webiny/next-env.d.ts b/examples/cms-webiny/next-env.d.ts
index 4f11a03dc6cc3..a4a7b3f5cfa2f 100644
--- a/examples/cms-webiny/next-env.d.ts
+++ b/examples/cms-webiny/next-env.d.ts
@@ -2,4 +2,4 @@
///
// NOTE: This file should not be edited
-// see https://nextjs.org/docs/basic-features/typescript for more information.
+// see https://nextjs.org/docs/pages/building-your-application/configuring/typescript for more information.
diff --git a/examples/cms-wordpress/next-env.d.ts b/examples/cms-wordpress/next-env.d.ts
index 4f11a03dc6cc3..a4a7b3f5cfa2f 100644
--- a/examples/cms-wordpress/next-env.d.ts
+++ b/examples/cms-wordpress/next-env.d.ts
@@ -2,4 +2,4 @@
///
// NOTE: This file should not be edited
-// see https://nextjs.org/docs/basic-features/typescript for more information.
+// see https://nextjs.org/docs/pages/building-your-application/configuring/typescript for more information.
diff --git a/examples/convex/next-env.d.ts b/examples/convex/next-env.d.ts
index 4f11a03dc6cc3..a4a7b3f5cfa2f 100644
--- a/examples/convex/next-env.d.ts
+++ b/examples/convex/next-env.d.ts
@@ -2,4 +2,4 @@
///
// NOTE: This file should not be edited
-// see https://nextjs.org/docs/basic-features/typescript for more information.
+// see https://nextjs.org/docs/pages/building-your-application/configuring/typescript for more information.
diff --git a/examples/custom-routes-proxying/next-env.d.ts b/examples/custom-routes-proxying/next-env.d.ts
index 4f11a03dc6cc3..a4a7b3f5cfa2f 100644
--- a/examples/custom-routes-proxying/next-env.d.ts
+++ b/examples/custom-routes-proxying/next-env.d.ts
@@ -2,4 +2,4 @@
///
// NOTE: This file should not be edited
-// see https://nextjs.org/docs/basic-features/typescript for more information.
+// see https://nextjs.org/docs/pages/building-your-application/configuring/typescript for more information.
diff --git a/examples/custom-server/next-env.d.ts b/examples/custom-server/next-env.d.ts
index 4f11a03dc6cc3..40c3d68096c27 100644
--- a/examples/custom-server/next-env.d.ts
+++ b/examples/custom-server/next-env.d.ts
@@ -2,4 +2,4 @@
///
// NOTE: This file should not be edited
-// see https://nextjs.org/docs/basic-features/typescript for more information.
+// see https://nextjs.org/docs/app/building-your-application/configuring/typescript for more information.
diff --git a/examples/dynamic-routing/next-env.d.ts b/examples/dynamic-routing/next-env.d.ts
index 4f11a03dc6cc3..40c3d68096c27 100644
--- a/examples/dynamic-routing/next-env.d.ts
+++ b/examples/dynamic-routing/next-env.d.ts
@@ -2,4 +2,4 @@
///
// NOTE: This file should not be edited
-// see https://nextjs.org/docs/basic-features/typescript for more information.
+// see https://nextjs.org/docs/app/building-your-application/configuring/typescript for more information.
diff --git a/examples/environment-variables/next-env.d.ts b/examples/environment-variables/next-env.d.ts
index 4f11a03dc6cc3..a4a7b3f5cfa2f 100644
--- a/examples/environment-variables/next-env.d.ts
+++ b/examples/environment-variables/next-env.d.ts
@@ -2,4 +2,4 @@
///
// NOTE: This file should not be edited
-// see https://nextjs.org/docs/basic-features/typescript for more information.
+// see https://nextjs.org/docs/pages/building-your-application/configuring/typescript for more information.
diff --git a/examples/github-pages/next-env.d.ts b/examples/github-pages/next-env.d.ts
index 4f11a03dc6cc3..40c3d68096c27 100644
--- a/examples/github-pages/next-env.d.ts
+++ b/examples/github-pages/next-env.d.ts
@@ -2,4 +2,4 @@
///
// NOTE: This file should not be edited
-// see https://nextjs.org/docs/basic-features/typescript for more information.
+// see https://nextjs.org/docs/app/building-your-application/configuring/typescript for more information.
diff --git a/examples/head-elements/next-env.d.ts b/examples/head-elements/next-env.d.ts
index 4f11a03dc6cc3..40c3d68096c27 100644
--- a/examples/head-elements/next-env.d.ts
+++ b/examples/head-elements/next-env.d.ts
@@ -2,4 +2,4 @@
///
// NOTE: This file should not be edited
-// see https://nextjs.org/docs/basic-features/typescript for more information.
+// see https://nextjs.org/docs/app/building-your-application/configuring/typescript for more information.
diff --git a/examples/headers/next-env.d.ts b/examples/headers/next-env.d.ts
index 4f11a03dc6cc3..40c3d68096c27 100644
--- a/examples/headers/next-env.d.ts
+++ b/examples/headers/next-env.d.ts
@@ -2,4 +2,4 @@
///
// NOTE: This file should not be edited
-// see https://nextjs.org/docs/basic-features/typescript for more information.
+// see https://nextjs.org/docs/app/building-your-application/configuring/typescript for more information.
diff --git a/examples/i18n-routing/next-env.d.ts b/examples/i18n-routing/next-env.d.ts
index 4f11a03dc6cc3..a4a7b3f5cfa2f 100644
--- a/examples/i18n-routing/next-env.d.ts
+++ b/examples/i18n-routing/next-env.d.ts
@@ -2,4 +2,4 @@
///
// NOTE: This file should not be edited
-// see https://nextjs.org/docs/basic-features/typescript for more information.
+// see https://nextjs.org/docs/pages/building-your-application/configuring/typescript for more information.
diff --git a/examples/image-component/next-env.d.ts b/examples/image-component/next-env.d.ts
index 4f11a03dc6cc3..40c3d68096c27 100644
--- a/examples/image-component/next-env.d.ts
+++ b/examples/image-component/next-env.d.ts
@@ -2,4 +2,4 @@
///
// NOTE: This file should not be edited
-// see https://nextjs.org/docs/basic-features/typescript for more information.
+// see https://nextjs.org/docs/app/building-your-application/configuring/typescript for more information.
diff --git a/examples/image-legacy-component/next-env.d.ts b/examples/image-legacy-component/next-env.d.ts
index 4f11a03dc6cc3..a4a7b3f5cfa2f 100644
--- a/examples/image-legacy-component/next-env.d.ts
+++ b/examples/image-legacy-component/next-env.d.ts
@@ -2,4 +2,4 @@
///
// NOTE: This file should not be edited
-// see https://nextjs.org/docs/basic-features/typescript for more information.
+// see https://nextjs.org/docs/pages/building-your-application/configuring/typescript for more information.
diff --git a/examples/layout-component/next-env.d.ts b/examples/layout-component/next-env.d.ts
index 4f11a03dc6cc3..40c3d68096c27 100644
--- a/examples/layout-component/next-env.d.ts
+++ b/examples/layout-component/next-env.d.ts
@@ -2,4 +2,4 @@
///
// NOTE: This file should not be edited
-// see https://nextjs.org/docs/basic-features/typescript for more information.
+// see https://nextjs.org/docs/app/building-your-application/configuring/typescript for more information.
diff --git a/examples/markdoc/next-env.d.ts b/examples/markdoc/next-env.d.ts
index 4f11a03dc6cc3..a4a7b3f5cfa2f 100644
--- a/examples/markdoc/next-env.d.ts
+++ b/examples/markdoc/next-env.d.ts
@@ -2,4 +2,4 @@
///
// NOTE: This file should not be edited
-// see https://nextjs.org/docs/basic-features/typescript for more information.
+// see https://nextjs.org/docs/pages/building-your-application/configuring/typescript for more information.
diff --git a/examples/middleware-matcher/next-env.d.ts b/examples/middleware-matcher/next-env.d.ts
index 4f11a03dc6cc3..a4a7b3f5cfa2f 100644
--- a/examples/middleware-matcher/next-env.d.ts
+++ b/examples/middleware-matcher/next-env.d.ts
@@ -2,4 +2,4 @@
///
// NOTE: This file should not be edited
-// see https://nextjs.org/docs/basic-features/typescript for more information.
+// see https://nextjs.org/docs/pages/building-your-application/configuring/typescript for more information.
diff --git a/examples/middleware/next-env.d.ts b/examples/middleware/next-env.d.ts
index 4f11a03dc6cc3..40c3d68096c27 100644
--- a/examples/middleware/next-env.d.ts
+++ b/examples/middleware/next-env.d.ts
@@ -2,4 +2,4 @@
///
// NOTE: This file should not be edited
-// see https://nextjs.org/docs/basic-features/typescript for more information.
+// see https://nextjs.org/docs/app/building-your-application/configuring/typescript for more information.
diff --git a/examples/modularize-imports/next-env.d.ts b/examples/modularize-imports/next-env.d.ts
index 4f11a03dc6cc3..a4a7b3f5cfa2f 100644
--- a/examples/modularize-imports/next-env.d.ts
+++ b/examples/modularize-imports/next-env.d.ts
@@ -2,4 +2,4 @@
///
// NOTE: This file should not be edited
-// see https://nextjs.org/docs/basic-features/typescript for more information.
+// see https://nextjs.org/docs/pages/building-your-application/configuring/typescript for more information.
diff --git a/examples/nested-components/next-env.d.ts b/examples/nested-components/next-env.d.ts
index 4f11a03dc6cc3..40c3d68096c27 100644
--- a/examples/nested-components/next-env.d.ts
+++ b/examples/nested-components/next-env.d.ts
@@ -2,4 +2,4 @@
///
// NOTE: This file should not be edited
-// see https://nextjs.org/docs/basic-features/typescript for more information.
+// see https://nextjs.org/docs/app/building-your-application/configuring/typescript for more information.
diff --git a/examples/next-css/next-env.d.ts b/examples/next-css/next-env.d.ts
index 4f11a03dc6cc3..40c3d68096c27 100644
--- a/examples/next-css/next-env.d.ts
+++ b/examples/next-css/next-env.d.ts
@@ -2,4 +2,4 @@
///
// NOTE: This file should not be edited
-// see https://nextjs.org/docs/basic-features/typescript for more information.
+// see https://nextjs.org/docs/app/building-your-application/configuring/typescript for more information.
diff --git a/examples/next-forms/next-env.d.ts b/examples/next-forms/next-env.d.ts
index 4f11a03dc6cc3..40c3d68096c27 100644
--- a/examples/next-forms/next-env.d.ts
+++ b/examples/next-forms/next-env.d.ts
@@ -2,4 +2,4 @@
///
// NOTE: This file should not be edited
-// see https://nextjs.org/docs/basic-features/typescript for more information.
+// see https://nextjs.org/docs/app/building-your-application/configuring/typescript for more information.
diff --git a/examples/next-offline/next-env.d.ts b/examples/next-offline/next-env.d.ts
index 4f11a03dc6cc3..a4a7b3f5cfa2f 100644
--- a/examples/next-offline/next-env.d.ts
+++ b/examples/next-offline/next-env.d.ts
@@ -2,4 +2,4 @@
///
// NOTE: This file should not be edited
-// see https://nextjs.org/docs/basic-features/typescript for more information.
+// see https://nextjs.org/docs/pages/building-your-application/configuring/typescript for more information.
diff --git a/examples/progressive-web-app/next-env.d.ts b/examples/progressive-web-app/next-env.d.ts
index 4f11a03dc6cc3..a4a7b3f5cfa2f 100644
--- a/examples/progressive-web-app/next-env.d.ts
+++ b/examples/progressive-web-app/next-env.d.ts
@@ -2,4 +2,4 @@
///
// NOTE: This file should not be edited
-// see https://nextjs.org/docs/basic-features/typescript for more information.
+// see https://nextjs.org/docs/pages/building-your-application/configuring/typescript for more information.
diff --git a/examples/radix-ui/next-env.d.ts b/examples/radix-ui/next-env.d.ts
index 4f11a03dc6cc3..a4a7b3f5cfa2f 100644
--- a/examples/radix-ui/next-env.d.ts
+++ b/examples/radix-ui/next-env.d.ts
@@ -2,4 +2,4 @@
///
// NOTE: This file should not be edited
-// see https://nextjs.org/docs/basic-features/typescript for more information.
+// see https://nextjs.org/docs/pages/building-your-application/configuring/typescript for more information.
diff --git a/examples/react-remove-properties/next-env.d.ts b/examples/react-remove-properties/next-env.d.ts
index 4f11a03dc6cc3..40c3d68096c27 100644
--- a/examples/react-remove-properties/next-env.d.ts
+++ b/examples/react-remove-properties/next-env.d.ts
@@ -2,4 +2,4 @@
///
// NOTE: This file should not be edited
-// see https://nextjs.org/docs/basic-features/typescript for more information.
+// see https://nextjs.org/docs/app/building-your-application/configuring/typescript for more information.
diff --git a/examples/redirects/next-env.d.ts b/examples/redirects/next-env.d.ts
index 4f11a03dc6cc3..40c3d68096c27 100644
--- a/examples/redirects/next-env.d.ts
+++ b/examples/redirects/next-env.d.ts
@@ -2,4 +2,4 @@
///
// NOTE: This file should not be edited
-// see https://nextjs.org/docs/basic-features/typescript for more information.
+// see https://nextjs.org/docs/app/building-your-application/configuring/typescript for more information.
diff --git a/examples/remove-console/next-env.d.ts b/examples/remove-console/next-env.d.ts
index 4f11a03dc6cc3..a4a7b3f5cfa2f 100644
--- a/examples/remove-console/next-env.d.ts
+++ b/examples/remove-console/next-env.d.ts
@@ -2,4 +2,4 @@
///
// NOTE: This file should not be edited
-// see https://nextjs.org/docs/basic-features/typescript for more information.
+// see https://nextjs.org/docs/pages/building-your-application/configuring/typescript for more information.
diff --git a/examples/reproduction-template/next-env.d.ts b/examples/reproduction-template/next-env.d.ts
index 4f11a03dc6cc3..40c3d68096c27 100644
--- a/examples/reproduction-template/next-env.d.ts
+++ b/examples/reproduction-template/next-env.d.ts
@@ -2,4 +2,4 @@
///
// NOTE: This file should not be edited
-// see https://nextjs.org/docs/basic-features/typescript for more information.
+// see https://nextjs.org/docs/app/building-your-application/configuring/typescript for more information.
diff --git a/examples/rewrites/next-env.d.ts b/examples/rewrites/next-env.d.ts
index 4f11a03dc6cc3..a4a7b3f5cfa2f 100644
--- a/examples/rewrites/next-env.d.ts
+++ b/examples/rewrites/next-env.d.ts
@@ -2,4 +2,4 @@
///
// NOTE: This file should not be edited
-// see https://nextjs.org/docs/basic-features/typescript for more information.
+// see https://nextjs.org/docs/pages/building-your-application/configuring/typescript for more information.
diff --git a/examples/script-component/next-env.d.ts b/examples/script-component/next-env.d.ts
index 4f11a03dc6cc3..a4a7b3f5cfa2f 100644
--- a/examples/script-component/next-env.d.ts
+++ b/examples/script-component/next-env.d.ts
@@ -2,4 +2,4 @@
///
// NOTE: This file should not be edited
-// see https://nextjs.org/docs/basic-features/typescript for more information.
+// see https://nextjs.org/docs/pages/building-your-application/configuring/typescript for more information.
diff --git a/examples/ssr-caching/next-env.d.ts b/examples/ssr-caching/next-env.d.ts
index 4f11a03dc6cc3..a4a7b3f5cfa2f 100644
--- a/examples/ssr-caching/next-env.d.ts
+++ b/examples/ssr-caching/next-env.d.ts
@@ -2,4 +2,4 @@
///
// NOTE: This file should not be edited
-// see https://nextjs.org/docs/basic-features/typescript for more information.
+// see https://nextjs.org/docs/pages/building-your-application/configuring/typescript for more information.
diff --git a/examples/svg-components/next-env.d.ts b/examples/svg-components/next-env.d.ts
index 4f11a03dc6cc3..40c3d68096c27 100644
--- a/examples/svg-components/next-env.d.ts
+++ b/examples/svg-components/next-env.d.ts
@@ -2,4 +2,4 @@
///
// NOTE: This file should not be edited
-// see https://nextjs.org/docs/basic-features/typescript for more information.
+// see https://nextjs.org/docs/app/building-your-application/configuring/typescript for more information.
diff --git a/examples/with-ably/next-env.d.ts b/examples/with-ably/next-env.d.ts
index 4f11a03dc6cc3..a4a7b3f5cfa2f 100644
--- a/examples/with-ably/next-env.d.ts
+++ b/examples/with-ably/next-env.d.ts
@@ -2,4 +2,4 @@
///
// NOTE: This file should not be edited
-// see https://nextjs.org/docs/basic-features/typescript for more information.
+// see https://nextjs.org/docs/pages/building-your-application/configuring/typescript for more information.
diff --git a/examples/with-absolute-imports/next-env.d.ts b/examples/with-absolute-imports/next-env.d.ts
index 4f11a03dc6cc3..40c3d68096c27 100644
--- a/examples/with-absolute-imports/next-env.d.ts
+++ b/examples/with-absolute-imports/next-env.d.ts
@@ -2,4 +2,4 @@
///
// NOTE: This file should not be edited
-// see https://nextjs.org/docs/basic-features/typescript for more information.
+// see https://nextjs.org/docs/app/building-your-application/configuring/typescript for more information.
diff --git a/examples/with-algolia-react-instantsearch/next-env.d.ts b/examples/with-algolia-react-instantsearch/next-env.d.ts
index 4f11a03dc6cc3..40c3d68096c27 100644
--- a/examples/with-algolia-react-instantsearch/next-env.d.ts
+++ b/examples/with-algolia-react-instantsearch/next-env.d.ts
@@ -2,4 +2,4 @@
///
// NOTE: This file should not be edited
-// see https://nextjs.org/docs/basic-features/typescript for more information.
+// see https://nextjs.org/docs/app/building-your-application/configuring/typescript for more information.
diff --git a/examples/with-ant-design/next-env.d.ts b/examples/with-ant-design/next-env.d.ts
index 4f11a03dc6cc3..40c3d68096c27 100644
--- a/examples/with-ant-design/next-env.d.ts
+++ b/examples/with-ant-design/next-env.d.ts
@@ -2,4 +2,4 @@
///
// NOTE: This file should not be edited
-// see https://nextjs.org/docs/basic-features/typescript for more information.
+// see https://nextjs.org/docs/app/building-your-application/configuring/typescript for more information.
diff --git a/examples/with-apivideo/next-env.d.ts b/examples/with-apivideo/next-env.d.ts
index 4f11a03dc6cc3..a4a7b3f5cfa2f 100644
--- a/examples/with-apivideo/next-env.d.ts
+++ b/examples/with-apivideo/next-env.d.ts
@@ -2,4 +2,4 @@
///
// NOTE: This file should not be edited
-// see https://nextjs.org/docs/basic-features/typescript for more information.
+// see https://nextjs.org/docs/pages/building-your-application/configuring/typescript for more information.
diff --git a/examples/with-axiom/next-env.d.ts b/examples/with-axiom/next-env.d.ts
index 4f11a03dc6cc3..a4a7b3f5cfa2f 100644
--- a/examples/with-axiom/next-env.d.ts
+++ b/examples/with-axiom/next-env.d.ts
@@ -2,4 +2,4 @@
///
// NOTE: This file should not be edited
-// see https://nextjs.org/docs/basic-features/typescript for more information.
+// see https://nextjs.org/docs/pages/building-your-application/configuring/typescript for more information.
diff --git a/examples/with-chakra-ui/next-env.d.ts b/examples/with-chakra-ui/next-env.d.ts
index 4f11a03dc6cc3..a4a7b3f5cfa2f 100644
--- a/examples/with-chakra-ui/next-env.d.ts
+++ b/examples/with-chakra-ui/next-env.d.ts
@@ -2,4 +2,4 @@
///
// NOTE: This file should not be edited
-// see https://nextjs.org/docs/basic-features/typescript for more information.
+// see https://nextjs.org/docs/pages/building-your-application/configuring/typescript for more information.
diff --git a/examples/with-cloudinary/next-env.d.ts b/examples/with-cloudinary/next-env.d.ts
index 4f11a03dc6cc3..a4a7b3f5cfa2f 100644
--- a/examples/with-cloudinary/next-env.d.ts
+++ b/examples/with-cloudinary/next-env.d.ts
@@ -2,4 +2,4 @@
///
// NOTE: This file should not be edited
-// see https://nextjs.org/docs/basic-features/typescript for more information.
+// see https://nextjs.org/docs/pages/building-your-application/configuring/typescript for more information.
diff --git a/examples/with-context-api/next-env.d.ts b/examples/with-context-api/next-env.d.ts
index 4f11a03dc6cc3..a4a7b3f5cfa2f 100644
--- a/examples/with-context-api/next-env.d.ts
+++ b/examples/with-context-api/next-env.d.ts
@@ -2,4 +2,4 @@
///
// NOTE: This file should not be edited
-// see https://nextjs.org/docs/basic-features/typescript for more information.
+// see https://nextjs.org/docs/pages/building-your-application/configuring/typescript for more information.
diff --git a/examples/with-cookies-next/next-env.d.ts b/examples/with-cookies-next/next-env.d.ts
index 4f11a03dc6cc3..a4a7b3f5cfa2f 100644
--- a/examples/with-cookies-next/next-env.d.ts
+++ b/examples/with-cookies-next/next-env.d.ts
@@ -2,4 +2,4 @@
///
// NOTE: This file should not be edited
-// see https://nextjs.org/docs/basic-features/typescript for more information.
+// see https://nextjs.org/docs/pages/building-your-application/configuring/typescript for more information.
diff --git a/examples/with-cssed/next-env.d.ts b/examples/with-cssed/next-env.d.ts
index 4f11a03dc6cc3..a4a7b3f5cfa2f 100644
--- a/examples/with-cssed/next-env.d.ts
+++ b/examples/with-cssed/next-env.d.ts
@@ -2,4 +2,4 @@
///
// NOTE: This file should not be edited
-// see https://nextjs.org/docs/basic-features/typescript for more information.
+// see https://nextjs.org/docs/pages/building-your-application/configuring/typescript for more information.
diff --git a/examples/with-cxs/next-env.d.ts b/examples/with-cxs/next-env.d.ts
index 4f11a03dc6cc3..a4a7b3f5cfa2f 100644
--- a/examples/with-cxs/next-env.d.ts
+++ b/examples/with-cxs/next-env.d.ts
@@ -2,4 +2,4 @@
///
// NOTE: This file should not be edited
-// see https://nextjs.org/docs/basic-features/typescript for more information.
+// see https://nextjs.org/docs/pages/building-your-application/configuring/typescript for more information.
diff --git a/examples/with-cypress/next-env.d.ts b/examples/with-cypress/next-env.d.ts
index 4f11a03dc6cc3..40c3d68096c27 100644
--- a/examples/with-cypress/next-env.d.ts
+++ b/examples/with-cypress/next-env.d.ts
@@ -2,4 +2,4 @@
///
// NOTE: This file should not be edited
-// see https://nextjs.org/docs/basic-features/typescript for more information.
+// see https://nextjs.org/docs/app/building-your-application/configuring/typescript for more information.
diff --git a/examples/with-dynamic-import/next-env.d.ts b/examples/with-dynamic-import/next-env.d.ts
index 4f11a03dc6cc3..a4a7b3f5cfa2f 100644
--- a/examples/with-dynamic-import/next-env.d.ts
+++ b/examples/with-dynamic-import/next-env.d.ts
@@ -2,4 +2,4 @@
///
// NOTE: This file should not be edited
-// see https://nextjs.org/docs/basic-features/typescript for more information.
+// see https://nextjs.org/docs/pages/building-your-application/configuring/typescript for more information.
diff --git a/examples/with-edgedb/next-env.d.ts b/examples/with-edgedb/next-env.d.ts
index 4f11a03dc6cc3..a4a7b3f5cfa2f 100644
--- a/examples/with-edgedb/next-env.d.ts
+++ b/examples/with-edgedb/next-env.d.ts
@@ -2,4 +2,4 @@
///
// NOTE: This file should not be edited
-// see https://nextjs.org/docs/basic-features/typescript for more information.
+// see https://nextjs.org/docs/pages/building-your-application/configuring/typescript for more information.
diff --git a/examples/with-expo-typescript/next-env.d.ts b/examples/with-expo-typescript/next-env.d.ts
index 4f11a03dc6cc3..a4a7b3f5cfa2f 100644
--- a/examples/with-expo-typescript/next-env.d.ts
+++ b/examples/with-expo-typescript/next-env.d.ts
@@ -2,4 +2,4 @@
///
// NOTE: This file should not be edited
-// see https://nextjs.org/docs/basic-features/typescript for more information.
+// see https://nextjs.org/docs/pages/building-your-application/configuring/typescript for more information.
diff --git a/examples/with-fingerprintjs-pro/next-env.d.ts b/examples/with-fingerprintjs-pro/next-env.d.ts
index 4f11a03dc6cc3..a4a7b3f5cfa2f 100644
--- a/examples/with-fingerprintjs-pro/next-env.d.ts
+++ b/examples/with-fingerprintjs-pro/next-env.d.ts
@@ -2,4 +2,4 @@
///
// NOTE: This file should not be edited
-// see https://nextjs.org/docs/basic-features/typescript for more information.
+// see https://nextjs.org/docs/pages/building-your-application/configuring/typescript for more information.
diff --git a/examples/with-goober/next-env.d.ts b/examples/with-goober/next-env.d.ts
index 4f11a03dc6cc3..a4a7b3f5cfa2f 100644
--- a/examples/with-goober/next-env.d.ts
+++ b/examples/with-goober/next-env.d.ts
@@ -2,4 +2,4 @@
///
// NOTE: This file should not be edited
-// see https://nextjs.org/docs/basic-features/typescript for more information.
+// see https://nextjs.org/docs/pages/building-your-application/configuring/typescript for more information.
diff --git a/examples/with-grafbase/next-env.d.ts b/examples/with-grafbase/next-env.d.ts
index 4f11a03dc6cc3..40c3d68096c27 100644
--- a/examples/with-grafbase/next-env.d.ts
+++ b/examples/with-grafbase/next-env.d.ts
@@ -2,4 +2,4 @@
///
// NOTE: This file should not be edited
-// see https://nextjs.org/docs/basic-features/typescript for more information.
+// see https://nextjs.org/docs/app/building-your-application/configuring/typescript for more information.
diff --git a/examples/with-graphql-gateway/next-env.d.ts b/examples/with-graphql-gateway/next-env.d.ts
index 4f11a03dc6cc3..a4a7b3f5cfa2f 100644
--- a/examples/with-graphql-gateway/next-env.d.ts
+++ b/examples/with-graphql-gateway/next-env.d.ts
@@ -2,4 +2,4 @@
///
// NOTE: This file should not be edited
-// see https://nextjs.org/docs/basic-features/typescript for more information.
+// see https://nextjs.org/docs/pages/building-your-application/configuring/typescript for more information.
diff --git a/examples/with-gsap/next-env.d.ts b/examples/with-gsap/next-env.d.ts
index 4f11a03dc6cc3..a4a7b3f5cfa2f 100644
--- a/examples/with-gsap/next-env.d.ts
+++ b/examples/with-gsap/next-env.d.ts
@@ -2,4 +2,4 @@
///
// NOTE: This file should not be edited
-// see https://nextjs.org/docs/basic-features/typescript for more information.
+// see https://nextjs.org/docs/pages/building-your-application/configuring/typescript for more information.
diff --git a/examples/with-ionic-typescript/next-env.d.ts b/examples/with-ionic-typescript/next-env.d.ts
index 4f11a03dc6cc3..a4a7b3f5cfa2f 100644
--- a/examples/with-ionic-typescript/next-env.d.ts
+++ b/examples/with-ionic-typescript/next-env.d.ts
@@ -2,4 +2,4 @@
///
// NOTE: This file should not be edited
-// see https://nextjs.org/docs/basic-features/typescript for more information.
+// see https://nextjs.org/docs/pages/building-your-application/configuring/typescript for more information.
diff --git a/examples/with-jest-babel/next-env.d.ts b/examples/with-jest-babel/next-env.d.ts
index 4f11a03dc6cc3..a4a7b3f5cfa2f 100644
--- a/examples/with-jest-babel/next-env.d.ts
+++ b/examples/with-jest-babel/next-env.d.ts
@@ -2,4 +2,4 @@
///
// NOTE: This file should not be edited
-// see https://nextjs.org/docs/basic-features/typescript for more information.
+// see https://nextjs.org/docs/pages/building-your-application/configuring/typescript for more information.
diff --git a/examples/with-jest/next-env.d.ts b/examples/with-jest/next-env.d.ts
index 4f11a03dc6cc3..40c3d68096c27 100644
--- a/examples/with-jest/next-env.d.ts
+++ b/examples/with-jest/next-env.d.ts
@@ -2,4 +2,4 @@
///
// NOTE: This file should not be edited
-// see https://nextjs.org/docs/basic-features/typescript for more information.
+// see https://nextjs.org/docs/app/building-your-application/configuring/typescript for more information.
diff --git a/examples/with-jotai/next-env.d.ts b/examples/with-jotai/next-env.d.ts
index 4f11a03dc6cc3..40c3d68096c27 100644
--- a/examples/with-jotai/next-env.d.ts
+++ b/examples/with-jotai/next-env.d.ts
@@ -2,4 +2,4 @@
///
// NOTE: This file should not be edited
-// see https://nextjs.org/docs/basic-features/typescript for more information.
+// see https://nextjs.org/docs/app/building-your-application/configuring/typescript for more information.
diff --git a/examples/with-linaria/next-env.d.ts b/examples/with-linaria/next-env.d.ts
index 4f11a03dc6cc3..a4a7b3f5cfa2f 100644
--- a/examples/with-linaria/next-env.d.ts
+++ b/examples/with-linaria/next-env.d.ts
@@ -2,4 +2,4 @@
///
// NOTE: This file should not be edited
-// see https://nextjs.org/docs/basic-features/typescript for more information.
+// see https://nextjs.org/docs/pages/building-your-application/configuring/typescript for more information.
diff --git a/examples/with-mantine/next-env.d.ts b/examples/with-mantine/next-env.d.ts
index 4f11a03dc6cc3..a4a7b3f5cfa2f 100644
--- a/examples/with-mantine/next-env.d.ts
+++ b/examples/with-mantine/next-env.d.ts
@@ -2,4 +2,4 @@
///
// NOTE: This file should not be edited
-// see https://nextjs.org/docs/basic-features/typescript for more information.
+// see https://nextjs.org/docs/pages/building-your-application/configuring/typescript for more information.
diff --git a/examples/with-mobx-state-tree/next-env.d.ts b/examples/with-mobx-state-tree/next-env.d.ts
index 4f11a03dc6cc3..a4a7b3f5cfa2f 100644
--- a/examples/with-mobx-state-tree/next-env.d.ts
+++ b/examples/with-mobx-state-tree/next-env.d.ts
@@ -2,4 +2,4 @@
///
// NOTE: This file should not be edited
-// see https://nextjs.org/docs/basic-features/typescript for more information.
+// see https://nextjs.org/docs/pages/building-your-application/configuring/typescript for more information.
diff --git a/examples/with-mongodb-mongoose/next-env.d.ts b/examples/with-mongodb-mongoose/next-env.d.ts
index 4f11a03dc6cc3..a4a7b3f5cfa2f 100644
--- a/examples/with-mongodb-mongoose/next-env.d.ts
+++ b/examples/with-mongodb-mongoose/next-env.d.ts
@@ -2,4 +2,4 @@
///
// NOTE: This file should not be edited
-// see https://nextjs.org/docs/basic-features/typescript for more information.
+// see https://nextjs.org/docs/pages/building-your-application/configuring/typescript for more information.
diff --git a/examples/with-mongodb/next-env.d.ts b/examples/with-mongodb/next-env.d.ts
index 4f11a03dc6cc3..40c3d68096c27 100644
--- a/examples/with-mongodb/next-env.d.ts
+++ b/examples/with-mongodb/next-env.d.ts
@@ -2,4 +2,4 @@
///
// NOTE: This file should not be edited
-// see https://nextjs.org/docs/basic-features/typescript for more information.
+// see https://nextjs.org/docs/app/building-your-application/configuring/typescript for more information.
diff --git a/examples/with-mqtt-js/next-env.d.ts b/examples/with-mqtt-js/next-env.d.ts
index 4f11a03dc6cc3..a4a7b3f5cfa2f 100644
--- a/examples/with-mqtt-js/next-env.d.ts
+++ b/examples/with-mqtt-js/next-env.d.ts
@@ -2,4 +2,4 @@
///
// NOTE: This file should not be edited
-// see https://nextjs.org/docs/basic-features/typescript for more information.
+// see https://nextjs.org/docs/pages/building-your-application/configuring/typescript for more information.
diff --git a/examples/with-msw/next-env.d.ts b/examples/with-msw/next-env.d.ts
index 4f11a03dc6cc3..a4a7b3f5cfa2f 100644
--- a/examples/with-msw/next-env.d.ts
+++ b/examples/with-msw/next-env.d.ts
@@ -2,4 +2,4 @@
///
// NOTE: This file should not be edited
-// see https://nextjs.org/docs/basic-features/typescript for more information.
+// see https://nextjs.org/docs/pages/building-your-application/configuring/typescript for more information.
diff --git a/examples/with-mux-video/next-env.d.ts b/examples/with-mux-video/next-env.d.ts
index 4f11a03dc6cc3..40c3d68096c27 100644
--- a/examples/with-mux-video/next-env.d.ts
+++ b/examples/with-mux-video/next-env.d.ts
@@ -2,4 +2,4 @@
///
// NOTE: This file should not be edited
-// see https://nextjs.org/docs/basic-features/typescript for more information.
+// see https://nextjs.org/docs/app/building-your-application/configuring/typescript for more information.
diff --git a/examples/with-next-sitemap/next-env.d.ts b/examples/with-next-sitemap/next-env.d.ts
index 4f11a03dc6cc3..a4a7b3f5cfa2f 100644
--- a/examples/with-next-sitemap/next-env.d.ts
+++ b/examples/with-next-sitemap/next-env.d.ts
@@ -2,4 +2,4 @@
///
// NOTE: This file should not be edited
-// see https://nextjs.org/docs/basic-features/typescript for more information.
+// see https://nextjs.org/docs/pages/building-your-application/configuring/typescript for more information.
diff --git a/examples/with-next-ui/next-env.d.ts b/examples/with-next-ui/next-env.d.ts
index 4f11a03dc6cc3..a4a7b3f5cfa2f 100644
--- a/examples/with-next-ui/next-env.d.ts
+++ b/examples/with-next-ui/next-env.d.ts
@@ -2,4 +2,4 @@
///
// NOTE: This file should not be edited
-// see https://nextjs.org/docs/basic-features/typescript for more information.
+// see https://nextjs.org/docs/pages/building-your-application/configuring/typescript for more information.
diff --git a/examples/with-opentelemetry/next-env.d.ts b/examples/with-opentelemetry/next-env.d.ts
index 4f11a03dc6cc3..40c3d68096c27 100644
--- a/examples/with-opentelemetry/next-env.d.ts
+++ b/examples/with-opentelemetry/next-env.d.ts
@@ -2,4 +2,4 @@
///
// NOTE: This file should not be edited
-// see https://nextjs.org/docs/basic-features/typescript for more information.
+// see https://nextjs.org/docs/app/building-your-application/configuring/typescript for more information.
diff --git a/examples/with-particles/next-env.d.ts b/examples/with-particles/next-env.d.ts
index 4f11a03dc6cc3..a4a7b3f5cfa2f 100644
--- a/examples/with-particles/next-env.d.ts
+++ b/examples/with-particles/next-env.d.ts
@@ -2,4 +2,4 @@
///
// NOTE: This file should not be edited
-// see https://nextjs.org/docs/basic-features/typescript for more information.
+// see https://nextjs.org/docs/pages/building-your-application/configuring/typescript for more information.
diff --git a/examples/with-paste-typescript/next-env.d.ts b/examples/with-paste-typescript/next-env.d.ts
index 4f11a03dc6cc3..a4a7b3f5cfa2f 100644
--- a/examples/with-paste-typescript/next-env.d.ts
+++ b/examples/with-paste-typescript/next-env.d.ts
@@ -2,4 +2,4 @@
///
// NOTE: This file should not be edited
-// see https://nextjs.org/docs/basic-features/typescript for more information.
+// see https://nextjs.org/docs/pages/building-your-application/configuring/typescript for more information.
diff --git a/examples/with-postgres/next-env.d.ts b/examples/with-postgres/next-env.d.ts
index 4f11a03dc6cc3..a4a7b3f5cfa2f 100644
--- a/examples/with-postgres/next-env.d.ts
+++ b/examples/with-postgres/next-env.d.ts
@@ -2,4 +2,4 @@
///
// NOTE: This file should not be edited
-// see https://nextjs.org/docs/basic-features/typescript for more information.
+// see https://nextjs.org/docs/pages/building-your-application/configuring/typescript for more information.
diff --git a/examples/with-prefetching/next-env.d.ts b/examples/with-prefetching/next-env.d.ts
index 4f11a03dc6cc3..a4a7b3f5cfa2f 100644
--- a/examples/with-prefetching/next-env.d.ts
+++ b/examples/with-prefetching/next-env.d.ts
@@ -2,4 +2,4 @@
///
// NOTE: This file should not be edited
-// see https://nextjs.org/docs/basic-features/typescript for more information.
+// see https://nextjs.org/docs/pages/building-your-application/configuring/typescript for more information.
diff --git a/examples/with-react-foundation/next-env.d.ts b/examples/with-react-foundation/next-env.d.ts
index 4f11a03dc6cc3..a4a7b3f5cfa2f 100644
--- a/examples/with-react-foundation/next-env.d.ts
+++ b/examples/with-react-foundation/next-env.d.ts
@@ -2,4 +2,4 @@
///
// NOTE: This file should not be edited
-// see https://nextjs.org/docs/basic-features/typescript for more information.
+// see https://nextjs.org/docs/pages/building-your-application/configuring/typescript for more information.
diff --git a/examples/with-react-hook-form/next-env.d.ts b/examples/with-react-hook-form/next-env.d.ts
index 4f11a03dc6cc3..a4a7b3f5cfa2f 100644
--- a/examples/with-react-hook-form/next-env.d.ts
+++ b/examples/with-react-hook-form/next-env.d.ts
@@ -2,4 +2,4 @@
///
// NOTE: This file should not be edited
-// see https://nextjs.org/docs/basic-features/typescript for more information.
+// see https://nextjs.org/docs/pages/building-your-application/configuring/typescript for more information.
diff --git a/examples/with-react-intl/next-env.d.ts b/examples/with-react-intl/next-env.d.ts
index 4f11a03dc6cc3..a4a7b3f5cfa2f 100644
--- a/examples/with-react-intl/next-env.d.ts
+++ b/examples/with-react-intl/next-env.d.ts
@@ -2,4 +2,4 @@
///
// NOTE: This file should not be edited
-// see https://nextjs.org/docs/basic-features/typescript for more information.
+// see https://nextjs.org/docs/pages/building-your-application/configuring/typescript for more information.
diff --git a/examples/with-react-jss/next-env.d.ts b/examples/with-react-jss/next-env.d.ts
index 4f11a03dc6cc3..a4a7b3f5cfa2f 100644
--- a/examples/with-react-jss/next-env.d.ts
+++ b/examples/with-react-jss/next-env.d.ts
@@ -2,4 +2,4 @@
///
// NOTE: This file should not be edited
-// see https://nextjs.org/docs/basic-features/typescript for more information.
+// see https://nextjs.org/docs/pages/building-your-application/configuring/typescript for more information.
diff --git a/examples/with-react-md-typescript/next-env.d.ts b/examples/with-react-md-typescript/next-env.d.ts
index 4f11a03dc6cc3..a4a7b3f5cfa2f 100644
--- a/examples/with-react-md-typescript/next-env.d.ts
+++ b/examples/with-react-md-typescript/next-env.d.ts
@@ -2,4 +2,4 @@
///
// NOTE: This file should not be edited
-// see https://nextjs.org/docs/basic-features/typescript for more information.
+// see https://nextjs.org/docs/pages/building-your-application/configuring/typescript for more information.
diff --git a/examples/with-react-multi-carousel/next-env.d.ts b/examples/with-react-multi-carousel/next-env.d.ts
index 4f11a03dc6cc3..a4a7b3f5cfa2f 100644
--- a/examples/with-react-multi-carousel/next-env.d.ts
+++ b/examples/with-react-multi-carousel/next-env.d.ts
@@ -2,4 +2,4 @@
///
// NOTE: This file should not be edited
-// see https://nextjs.org/docs/basic-features/typescript for more information.
+// see https://nextjs.org/docs/pages/building-your-application/configuring/typescript for more information.
diff --git a/examples/with-redis/next-env.d.ts b/examples/with-redis/next-env.d.ts
index 4f11a03dc6cc3..40c3d68096c27 100644
--- a/examples/with-redis/next-env.d.ts
+++ b/examples/with-redis/next-env.d.ts
@@ -2,4 +2,4 @@
///
// NOTE: This file should not be edited
-// see https://nextjs.org/docs/basic-features/typescript for more information.
+// see https://nextjs.org/docs/app/building-your-application/configuring/typescript for more information.
diff --git a/examples/with-redux/next-env.d.ts b/examples/with-redux/next-env.d.ts
index 4f11a03dc6cc3..40c3d68096c27 100644
--- a/examples/with-redux/next-env.d.ts
+++ b/examples/with-redux/next-env.d.ts
@@ -2,4 +2,4 @@
///
// NOTE: This file should not be edited
-// see https://nextjs.org/docs/basic-features/typescript for more information.
+// see https://nextjs.org/docs/app/building-your-application/configuring/typescript for more information.
diff --git a/examples/with-reflexjs/next-env.d.ts b/examples/with-reflexjs/next-env.d.ts
index 4f11a03dc6cc3..a4a7b3f5cfa2f 100644
--- a/examples/with-reflexjs/next-env.d.ts
+++ b/examples/with-reflexjs/next-env.d.ts
@@ -2,4 +2,4 @@
///
// NOTE: This file should not be edited
-// see https://nextjs.org/docs/basic-features/typescript for more information.
+// see https://nextjs.org/docs/pages/building-your-application/configuring/typescript for more information.
diff --git a/examples/with-sentry/next-env.d.ts b/examples/with-sentry/next-env.d.ts
index 4f11a03dc6cc3..a4a7b3f5cfa2f 100644
--- a/examples/with-sentry/next-env.d.ts
+++ b/examples/with-sentry/next-env.d.ts
@@ -2,4 +2,4 @@
///
// NOTE: This file should not be edited
-// see https://nextjs.org/docs/basic-features/typescript for more information.
+// see https://nextjs.org/docs/pages/building-your-application/configuring/typescript for more information.
diff --git a/examples/with-service-worker/next-env.d.ts b/examples/with-service-worker/next-env.d.ts
index 4f11a03dc6cc3..a4a7b3f5cfa2f 100644
--- a/examples/with-service-worker/next-env.d.ts
+++ b/examples/with-service-worker/next-env.d.ts
@@ -2,4 +2,4 @@
///
// NOTE: This file should not be edited
-// see https://nextjs.org/docs/basic-features/typescript for more information.
+// see https://nextjs.org/docs/pages/building-your-application/configuring/typescript for more information.
diff --git a/examples/with-sfcc/next-env.d.ts b/examples/with-sfcc/next-env.d.ts
index 4f11a03dc6cc3..a4a7b3f5cfa2f 100644
--- a/examples/with-sfcc/next-env.d.ts
+++ b/examples/with-sfcc/next-env.d.ts
@@ -2,4 +2,4 @@
///
// NOTE: This file should not be edited
-// see https://nextjs.org/docs/basic-features/typescript for more information.
+// see https://nextjs.org/docs/pages/building-your-application/configuring/typescript for more information.
diff --git a/examples/with-slate/next-env.d.ts b/examples/with-slate/next-env.d.ts
index 4f11a03dc6cc3..40c3d68096c27 100644
--- a/examples/with-slate/next-env.d.ts
+++ b/examples/with-slate/next-env.d.ts
@@ -2,4 +2,4 @@
///
// NOTE: This file should not be edited
-// see https://nextjs.org/docs/basic-features/typescript for more information.
+// see https://nextjs.org/docs/app/building-your-application/configuring/typescript for more information.
diff --git a/examples/with-static-export/next-env.d.ts b/examples/with-static-export/next-env.d.ts
index 4f11a03dc6cc3..40c3d68096c27 100644
--- a/examples/with-static-export/next-env.d.ts
+++ b/examples/with-static-export/next-env.d.ts
@@ -2,4 +2,4 @@
///
// NOTE: This file should not be edited
-// see https://nextjs.org/docs/basic-features/typescript for more information.
+// see https://nextjs.org/docs/app/building-your-application/configuring/typescript for more information.
diff --git a/examples/with-stitches/next-env.d.ts b/examples/with-stitches/next-env.d.ts
index 4f11a03dc6cc3..a4a7b3f5cfa2f 100644
--- a/examples/with-stitches/next-env.d.ts
+++ b/examples/with-stitches/next-env.d.ts
@@ -2,4 +2,4 @@
///
// NOTE: This file should not be edited
-// see https://nextjs.org/docs/basic-features/typescript for more information.
+// see https://nextjs.org/docs/pages/building-your-application/configuring/typescript for more information.
diff --git a/examples/with-storybook-styled-jsx-scss/next-env.d.ts b/examples/with-storybook-styled-jsx-scss/next-env.d.ts
index 4f11a03dc6cc3..a4a7b3f5cfa2f 100644
--- a/examples/with-storybook-styled-jsx-scss/next-env.d.ts
+++ b/examples/with-storybook-styled-jsx-scss/next-env.d.ts
@@ -2,4 +2,4 @@
///
// NOTE: This file should not be edited
-// see https://nextjs.org/docs/basic-features/typescript for more information.
+// see https://nextjs.org/docs/pages/building-your-application/configuring/typescript for more information.
diff --git a/examples/with-stripe-typescript/next-env.d.ts b/examples/with-stripe-typescript/next-env.d.ts
index 4f11a03dc6cc3..40c3d68096c27 100644
--- a/examples/with-stripe-typescript/next-env.d.ts
+++ b/examples/with-stripe-typescript/next-env.d.ts
@@ -2,4 +2,4 @@
///
// NOTE: This file should not be edited
-// see https://nextjs.org/docs/basic-features/typescript for more information.
+// see https://nextjs.org/docs/app/building-your-application/configuring/typescript for more information.
diff --git a/examples/with-styled-components-babel/next-env.d.ts b/examples/with-styled-components-babel/next-env.d.ts
index 4f11a03dc6cc3..a4a7b3f5cfa2f 100644
--- a/examples/with-styled-components-babel/next-env.d.ts
+++ b/examples/with-styled-components-babel/next-env.d.ts
@@ -2,4 +2,4 @@
///
// NOTE: This file should not be edited
-// see https://nextjs.org/docs/basic-features/typescript for more information.
+// see https://nextjs.org/docs/pages/building-your-application/configuring/typescript for more information.
diff --git a/examples/with-styled-components-rtl/next-env.d.ts b/examples/with-styled-components-rtl/next-env.d.ts
index 4f11a03dc6cc3..a4a7b3f5cfa2f 100644
--- a/examples/with-styled-components-rtl/next-env.d.ts
+++ b/examples/with-styled-components-rtl/next-env.d.ts
@@ -2,4 +2,4 @@
///
// NOTE: This file should not be edited
-// see https://nextjs.org/docs/basic-features/typescript for more information.
+// see https://nextjs.org/docs/pages/building-your-application/configuring/typescript for more information.
diff --git a/examples/with-styled-components/next-env.d.ts b/examples/with-styled-components/next-env.d.ts
index 4f11a03dc6cc3..a4a7b3f5cfa2f 100644
--- a/examples/with-styled-components/next-env.d.ts
+++ b/examples/with-styled-components/next-env.d.ts
@@ -2,4 +2,4 @@
///
// NOTE: This file should not be edited
-// see https://nextjs.org/docs/basic-features/typescript for more information.
+// see https://nextjs.org/docs/pages/building-your-application/configuring/typescript for more information.
diff --git a/examples/with-styled-jsx-plugins/next-env.d.ts b/examples/with-styled-jsx-plugins/next-env.d.ts
index 4f11a03dc6cc3..a4a7b3f5cfa2f 100644
--- a/examples/with-styled-jsx-plugins/next-env.d.ts
+++ b/examples/with-styled-jsx-plugins/next-env.d.ts
@@ -2,4 +2,4 @@
///
// NOTE: This file should not be edited
-// see https://nextjs.org/docs/basic-features/typescript for more information.
+// see https://nextjs.org/docs/pages/building-your-application/configuring/typescript for more information.
diff --git a/examples/with-styled-jsx-scss/next-env.d.ts b/examples/with-styled-jsx-scss/next-env.d.ts
index 4f11a03dc6cc3..a4a7b3f5cfa2f 100644
--- a/examples/with-styled-jsx-scss/next-env.d.ts
+++ b/examples/with-styled-jsx-scss/next-env.d.ts
@@ -2,4 +2,4 @@
///
// NOTE: This file should not be edited
-// see https://nextjs.org/docs/basic-features/typescript for more information.
+// see https://nextjs.org/docs/pages/building-your-application/configuring/typescript for more information.
diff --git a/examples/with-styled-jsx/next-env.d.ts b/examples/with-styled-jsx/next-env.d.ts
index 4f11a03dc6cc3..a4a7b3f5cfa2f 100644
--- a/examples/with-styled-jsx/next-env.d.ts
+++ b/examples/with-styled-jsx/next-env.d.ts
@@ -2,4 +2,4 @@
///
// NOTE: This file should not be edited
-// see https://nextjs.org/docs/basic-features/typescript for more information.
+// see https://nextjs.org/docs/pages/building-your-application/configuring/typescript for more information.
diff --git a/examples/with-temporal/next-env.d.ts b/examples/with-temporal/next-env.d.ts
index 4f11a03dc6cc3..a4a7b3f5cfa2f 100644
--- a/examples/with-temporal/next-env.d.ts
+++ b/examples/with-temporal/next-env.d.ts
@@ -2,4 +2,4 @@
///
// NOTE: This file should not be edited
-// see https://nextjs.org/docs/basic-features/typescript for more information.
+// see https://nextjs.org/docs/pages/building-your-application/configuring/typescript for more information.
diff --git a/examples/with-tigris/next-env.d.ts b/examples/with-tigris/next-env.d.ts
index 4f11a03dc6cc3..a4a7b3f5cfa2f 100644
--- a/examples/with-tigris/next-env.d.ts
+++ b/examples/with-tigris/next-env.d.ts
@@ -2,4 +2,4 @@
///
// NOTE: This file should not be edited
-// see https://nextjs.org/docs/basic-features/typescript for more information.
+// see https://nextjs.org/docs/pages/building-your-application/configuring/typescript for more information.
diff --git a/examples/with-turbopack/next-env.d.ts b/examples/with-turbopack/next-env.d.ts
index 4f11a03dc6cc3..40c3d68096c27 100644
--- a/examples/with-turbopack/next-env.d.ts
+++ b/examples/with-turbopack/next-env.d.ts
@@ -2,4 +2,4 @@
///
// NOTE: This file should not be edited
-// see https://nextjs.org/docs/basic-features/typescript for more information.
+// see https://nextjs.org/docs/app/building-your-application/configuring/typescript for more information.
diff --git a/examples/with-typescript-graphql/next-env.d.ts b/examples/with-typescript-graphql/next-env.d.ts
index 4f11a03dc6cc3..a4a7b3f5cfa2f 100644
--- a/examples/with-typescript-graphql/next-env.d.ts
+++ b/examples/with-typescript-graphql/next-env.d.ts
@@ -2,4 +2,4 @@
///
// NOTE: This file should not be edited
-// see https://nextjs.org/docs/basic-features/typescript for more information.
+// see https://nextjs.org/docs/pages/building-your-application/configuring/typescript for more information.
diff --git a/examples/with-typescript-types/next-env.d.ts b/examples/with-typescript-types/next-env.d.ts
index 4f11a03dc6cc3..a4a7b3f5cfa2f 100644
--- a/examples/with-typescript-types/next-env.d.ts
+++ b/examples/with-typescript-types/next-env.d.ts
@@ -2,4 +2,4 @@
///
// NOTE: This file should not be edited
-// see https://nextjs.org/docs/basic-features/typescript for more information.
+// see https://nextjs.org/docs/pages/building-your-application/configuring/typescript for more information.
diff --git a/examples/with-typescript/next-env.d.ts b/examples/with-typescript/next-env.d.ts
index 4f11a03dc6cc3..a4a7b3f5cfa2f 100644
--- a/examples/with-typescript/next-env.d.ts
+++ b/examples/with-typescript/next-env.d.ts
@@ -2,4 +2,4 @@
///
// NOTE: This file should not be edited
-// see https://nextjs.org/docs/basic-features/typescript for more information.
+// see https://nextjs.org/docs/pages/building-your-application/configuring/typescript for more information.
diff --git a/examples/with-unsplash/next-env.d.ts b/examples/with-unsplash/next-env.d.ts
index 4f11a03dc6cc3..a4a7b3f5cfa2f 100644
--- a/examples/with-unsplash/next-env.d.ts
+++ b/examples/with-unsplash/next-env.d.ts
@@ -2,4 +2,4 @@
///
// NOTE: This file should not be edited
-// see https://nextjs.org/docs/basic-features/typescript for more information.
+// see https://nextjs.org/docs/pages/building-your-application/configuring/typescript for more information.
diff --git a/examples/with-vanilla-extract/next-env.d.ts b/examples/with-vanilla-extract/next-env.d.ts
index 4f11a03dc6cc3..40c3d68096c27 100644
--- a/examples/with-vanilla-extract/next-env.d.ts
+++ b/examples/with-vanilla-extract/next-env.d.ts
@@ -2,4 +2,4 @@
///
// NOTE: This file should not be edited
-// see https://nextjs.org/docs/basic-features/typescript for more information.
+// see https://nextjs.org/docs/app/building-your-application/configuring/typescript for more information.
diff --git a/examples/with-vercel-fetch/next-env.d.ts b/examples/with-vercel-fetch/next-env.d.ts
index 4f11a03dc6cc3..a4a7b3f5cfa2f 100644
--- a/examples/with-vercel-fetch/next-env.d.ts
+++ b/examples/with-vercel-fetch/next-env.d.ts
@@ -2,4 +2,4 @@
///
// NOTE: This file should not be edited
-// see https://nextjs.org/docs/basic-features/typescript for more information.
+// see https://nextjs.org/docs/pages/building-your-application/configuring/typescript for more information.
diff --git a/examples/with-videojs/next-env.d.ts b/examples/with-videojs/next-env.d.ts
index 4f11a03dc6cc3..a4a7b3f5cfa2f 100644
--- a/examples/with-videojs/next-env.d.ts
+++ b/examples/with-videojs/next-env.d.ts
@@ -2,4 +2,4 @@
///
// NOTE: This file should not be edited
-// see https://nextjs.org/docs/basic-features/typescript for more information.
+// see https://nextjs.org/docs/pages/building-your-application/configuring/typescript for more information.
diff --git a/examples/with-vitest/next-env.d.ts b/examples/with-vitest/next-env.d.ts
index 4f11a03dc6cc3..40c3d68096c27 100644
--- a/examples/with-vitest/next-env.d.ts
+++ b/examples/with-vitest/next-env.d.ts
@@ -2,4 +2,4 @@
///
// NOTE: This file should not be edited
-// see https://nextjs.org/docs/basic-features/typescript for more information.
+// see https://nextjs.org/docs/app/building-your-application/configuring/typescript for more information.
diff --git a/examples/with-web-worker/next-env.d.ts b/examples/with-web-worker/next-env.d.ts
index 4f11a03dc6cc3..a4a7b3f5cfa2f 100644
--- a/examples/with-web-worker/next-env.d.ts
+++ b/examples/with-web-worker/next-env.d.ts
@@ -2,4 +2,4 @@
///
// NOTE: This file should not be edited
-// see https://nextjs.org/docs/basic-features/typescript for more information.
+// see https://nextjs.org/docs/pages/building-your-application/configuring/typescript for more information.
diff --git a/examples/with-webassembly/next-env.d.ts b/examples/with-webassembly/next-env.d.ts
index 4f11a03dc6cc3..40c3d68096c27 100644
--- a/examples/with-webassembly/next-env.d.ts
+++ b/examples/with-webassembly/next-env.d.ts
@@ -2,4 +2,4 @@
///
// NOTE: This file should not be edited
-// see https://nextjs.org/docs/basic-features/typescript for more information.
+// see https://nextjs.org/docs/app/building-your-application/configuring/typescript for more information.
diff --git a/examples/with-windicss/next-env.d.ts b/examples/with-windicss/next-env.d.ts
index 4f11a03dc6cc3..a4a7b3f5cfa2f 100644
--- a/examples/with-windicss/next-env.d.ts
+++ b/examples/with-windicss/next-env.d.ts
@@ -2,4 +2,4 @@
///
// NOTE: This file should not be edited
-// see https://nextjs.org/docs/basic-features/typescript for more information.
+// see https://nextjs.org/docs/pages/building-your-application/configuring/typescript for more information.
diff --git a/examples/with-xata/next-env.d.ts b/examples/with-xata/next-env.d.ts
index 4f11a03dc6cc3..a4a7b3f5cfa2f 100644
--- a/examples/with-xata/next-env.d.ts
+++ b/examples/with-xata/next-env.d.ts
@@ -2,4 +2,4 @@
///
// NOTE: This file should not be edited
-// see https://nextjs.org/docs/basic-features/typescript for more information.
+// see https://nextjs.org/docs/pages/building-your-application/configuring/typescript for more information.
diff --git a/examples/with-xstate/next-env.d.ts b/examples/with-xstate/next-env.d.ts
index 4f11a03dc6cc3..a4a7b3f5cfa2f 100644
--- a/examples/with-xstate/next-env.d.ts
+++ b/examples/with-xstate/next-env.d.ts
@@ -2,4 +2,4 @@
///
// NOTE: This file should not be edited
-// see https://nextjs.org/docs/basic-features/typescript for more information.
+// see https://nextjs.org/docs/pages/building-your-application/configuring/typescript for more information.
diff --git a/examples/with-yoga/next-env.d.ts b/examples/with-yoga/next-env.d.ts
index 4f11a03dc6cc3..a4a7b3f5cfa2f 100644
--- a/examples/with-yoga/next-env.d.ts
+++ b/examples/with-yoga/next-env.d.ts
@@ -2,4 +2,4 @@
///
// NOTE: This file should not be edited
-// see https://nextjs.org/docs/basic-features/typescript for more information.
+// see https://nextjs.org/docs/pages/building-your-application/configuring/typescript for more information.
diff --git a/examples/with-zustand/next-env.d.ts b/examples/with-zustand/next-env.d.ts
index 4f11a03dc6cc3..a4a7b3f5cfa2f 100644
--- a/examples/with-zustand/next-env.d.ts
+++ b/examples/with-zustand/next-env.d.ts
@@ -2,4 +2,4 @@
///
// NOTE: This file should not be edited
-// see https://nextjs.org/docs/basic-features/typescript for more information.
+// see https://nextjs.org/docs/pages/building-your-application/configuring/typescript for more information.
diff --git a/scripts/check-examples.sh b/scripts/check-examples.sh
index b2a75073db7fe..fe24792596277 100755
--- a/scripts/check-examples.sh
+++ b/scripts/check-examples.sh
@@ -9,7 +9,7 @@ for folder in examples/* ; do
fi
if [ -f "$folder/tsconfig.json" ]; then
if [ -d "$folder/app" ]; then
- cp packages/create-next-app/templates/app/ts/next-env.d.ts $folder/app/next-env.d.ts
+ cp packages/create-next-app/templates/app/ts/next-env.d.ts $folder/next-env.d.ts
else
cp packages/create-next-app/templates/default/ts/next-env.d.ts $folder/next-env.d.ts
fi