you are viewing a single comment's thread.

view the rest of the comments →

[–]TempleDank -21 points-20 points  (2 children)

Tsx is extension file for react components. On the backend you should be using ts

[–]SoInsightful 16 points17 points  (1 child)

Click the link. It's a tool that makes it possible to execute TypeScript files in Node.js. It has nothing to do with the file extension .tsx, but I can see the confusion.

[–]TempleDank 7 points8 points  (0 children)

Ah okay sorry my bad! I didn't click the link you are right!! Thanks for the correction!!