Skip to content

Tag: tsx

tsx extension error in React project with Typescript

I’m trying to move my project from js to ts, so I’ve installed typescript and now I’m changing the extension of all files from .js to .tsx, then I tried to launch again the project and seems that can’t resolve .tsx files This is the folder tree of my project (Note that I just changed my Button component to .tsx