Misleading documentation for CRA --TypeScript
Created by: flash-me
In the documentation for adding TypeScript to an CRA project it is stated following: (Linked with corresponding URL)
While you are able to edit the tsconfig indeed, it will be overridden by react-scripts, at least the compilerOptions
. (The "include"
property will be left out).
This behaviour is something a developer would not expect while working his way into the world of react / create-react-app.
Based on the comments from #6269 (closed) I assume that CRA behaves correct and the doc needs to be adjusted / fixed.
Kind regards