Red line is showing at the time of importing jsx file into tsx file.
to solve this issue just add, "allowJs": true, in tsconfig.json file ,
tsconfig.json
"compilerOptions": {
"allowJs": true,
},
I was trying to import app.jsx file into main.tsx
Now, my answer is cleared just adding, ```compilerOptions": { "allowJs": true, },