Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

"Clarify the 'Existing Projects' section of the TypeScript docs: #52944

Merged
merged 12 commits into from
Jul 21, 2023
Merged
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ npx create-next-app@latest

## Existing Projects

Add TypeScript to your project by renaming a file to `.ts` / `.tsx`. Run `next dev` and `next build` to automatically install the necessary dependencies and add a `tsconfig.json` file with the recommended config options.
Add TypeScript to your project by renaming a file to `.ts` / `.tsx`. Run `next dev` and `next build` to automatically install the necessary dependencies and add a `tsconfig.json` file with the recommended config options. Finally, copy the `paths` compiler option from your existing `jsconfig.json` file into the compiler options of the `tsconfig.json` file, and delete the `jsconfig.json` file.
ShaunFerris marked this conversation as resolved.
Show resolved Hide resolved

<AppOnly>

Expand Down