diff --git a/examples/nextjs-with-typescript-v4-migration/.gitignore b/examples/nextjs-with-typescript-v4-migration/.gitignore
index 0a5247fbb5ad45..0b61be0485d841 100644
--- a/examples/nextjs-with-typescript-v4-migration/.gitignore
+++ b/examples/nextjs-with-typescript-v4-migration/.gitignore
@@ -34,4 +34,5 @@ yarn-error.log*
.vercel
# typescript
-*.tsbuildinfo
\ No newline at end of file
+*.tsbuildinfo
+next-env.d.ts
diff --git a/examples/nextjs-with-typescript-v4-migration/next-env.d.ts b/examples/nextjs-with-typescript-v4-migration/next-env.d.ts
deleted file mode 100644
index 4f11a03dc6cc37..00000000000000
--- a/examples/nextjs-with-typescript-v4-migration/next-env.d.ts
+++ /dev/null
@@ -1,5 +0,0 @@
-///
-///
-
-// NOTE: This file should not be edited
-// see https://nextjs.org/docs/basic-features/typescript for more information.
diff --git a/examples/nextjs-with-typescript/.gitignore b/examples/nextjs-with-typescript/.gitignore
index 0a5247fbb5ad45..0b61be0485d841 100644
--- a/examples/nextjs-with-typescript/.gitignore
+++ b/examples/nextjs-with-typescript/.gitignore
@@ -34,4 +34,5 @@ yarn-error.log*
.vercel
# typescript
-*.tsbuildinfo
\ No newline at end of file
+*.tsbuildinfo
+next-env.d.ts
diff --git a/examples/nextjs-with-typescript/next-env.d.ts b/examples/nextjs-with-typescript/next-env.d.ts
deleted file mode 100644
index 4f11a03dc6cc37..00000000000000
--- a/examples/nextjs-with-typescript/next-env.d.ts
+++ /dev/null
@@ -1,5 +0,0 @@
-///
-///
-
-// NOTE: This file should not be edited
-// see https://nextjs.org/docs/basic-features/typescript for more information.