We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b5f156e commit 6b010b0Copy full SHA for 6b010b0
packages/react-scripts/scripts/utils/verifyTypeScriptSetup.js
@@ -41,7 +41,7 @@ function verifyTypeScriptSetup() {
41
let firstTimeSetup = false;
42
43
if (!fs.existsSync(paths.appTsConfig)) {
44
- if (!paths.appIndexJs.match(/\.ts?$/)) {
+ if (!paths.appIndexJs.match(/\.tsx?$/)) {
45
return;
46
}
47
writeJson(paths.appTsConfig, {});
0 commit comments