I am working on a react project in which I have imported .jsx files without adding the extension .jsx at the end. But while I was trying to incorporate typescript files. It stopped identifying files unless the extension is added at the import statement.
import Item from "./Item"
//not working
import Item from "./Item.jsx"
//working
How can I fix this? where could the problem be? I use create-react-app