Why is create react app editing my `tsconfig.json`?
See original GitHub issueIs this a bug report?
No
Why is create react app editing my tsconfig.json
Config files like tsconfig
should be project specific.
Issue Analytics
- State:
- Created 5 years ago
- Comments:7 (3 by maintainers)
Top Results From Across the Web
How to configure react-script so that it doesn't override tsconfig ...
I was able to do this by using advice from this issue. Put the configuration options react scripts likes to remove in a...
Read more >How To Use Typescript with Create React App | DigitalOcean
Navigate to your project directory and open it in your code editor. Examining the tsconfig.json File. You may have noticed that your terminal ......
Read more >Adding TypeScript - Create React App
You are not required to make a tsconfig.json file, one will be made for you. You are allowed to edit the generated TypeScript...
Read more >Use Typescript in an already existing create-react-app Project
Add typescript to an existing create-react-app project ... Finally, you should see a tsconfig.json file in your project structure. You can modify the...
Read more >Create React App and TypeScript: A Quick How-To | Built In
If you're still getting an error in your tsconfig.js file, you might be using different versions of TypeScript. Type cmd + shift ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@developer239 CRA should always “just” work. If we don’t enforce or restrict certain features we will break functionality or have inconsistencies. There was no deliberate choice to disable absolute imports in Typescript because we don’t want that feature but because it hasn’t been implemented in such a way that it is consistent and will always work.
We are currently working on absolute imports for both TypeScript and JavaScript. You can track the progress here: https://github.com/facebook/create-react-app/pull/6116
Create React App only supports certain TypeScript features. Because of this, the
tsconfig.json
is modified to be in compliance.