Force *.ts to import over *.tsx – Reactjs
I have two files for my component: app/components/SomeButton.ts app/components/SomeButton.tsx The .ts contains most of the logic/code and the .tsx extends the .ts and contains just the render function. When I want to import the .tsx in some other file (e.g.…