Skip to content
This repository was archived by the owner on Jun 21, 2023. It is now read-only.

Commit c732c65

Browse files
authored
Update next-env note in docs (vercel#26536)
This ensures we don't recommend editing the `next-env` file since we need to be able to tweak it to accept future types we add in Next.js ## Documentation / Examples - [x] Make sure the linting passes Closes: vercel#26533
1 parent 4f9c160 commit c732c65

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/basic-features/typescript.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ npm run dev
5353

5454
You're now ready to start converting files from `.js` to `.tsx` and leveraging the benefits of TypeScript!.
5555

56-
> A file named `next-env.d.ts` will be created in the root of your project. This file ensures Next.js types are picked up by the TypeScript compiler. **You cannot remove it**, however, you can edit it (but you don't need to).
56+
> A file named `next-env.d.ts` will be created in the root of your project. This file ensures Next.js types are picked up by the TypeScript compiler. **You cannot remove it**, and it should not be edited as it can change at any time.
5757
5858
> TypeScript `strict` mode is turned off by default. When you feel comfortable with TypeScript, it's recommended to turn it on in your `tsconfig.json`.
5959

0 commit comments

Comments
 (0)