fix: remove "src" in create-react-app/tsconfig.json#41
fix: remove "src" in create-react-app/tsconfig.json#41orta merged 1 commit intotsconfig:masterfrom weiran-zsd:docs/update-usage
Conversation
|
We probably can't do this, not all projects have "src" as their default folder I think I think removing the src from react example, and keeping the README the same is probably the right call |
|
well, reverted that changes. :) |
|
Thanks! It will deploy overnight |
|
I ran into this problem today -
One way to get around it is to specify relative paths: "include": [
"../../../../**/.eslintrc.cjs",
"../../../../next-env.d.ts",
"../../../../**/*.ts",
"../../../../**/*.tsx",
"../../../../**/*.js",
"../../../../**/*.jsx",
"../../../../**/*.cjs",
"../../../../**/*.mjs"
],But then you're encoding your Hm... would be great to get a "include": [
"<root>/**/*.ts"
]@orta I guess this doesn't exist in TS, right? Edit: opened a feature request in the TypeScript repo here: microsoft/TypeScript#51213 |
it also removed "include": ["src"] in create-react-app - it's not working as expected.