Add support for tsx and jsx?
See original GitHub issueIt would be nice if there were icons for jsx and tsx. The filetypes for the jsx and tsx in vim are javascriptreact and typescriptreact, respectively.
I tried to add these filetypes to the mapping (see my fork), but it didn’t change anything. How would I go about doing this?
Issue Analytics
- State:
- Created 3 years ago
- Comments:6 (1 by maintainers)
Top Results From Across the Web
TypeScript: Documentation - JSX
TypeScript supports embedding, type checking, and compiling JSX directly to JavaScript. Basic usage. In order to use JSX you must do two things....
Read more >Setting TypeScript For Modern React Projects Using ...
jsx :react Adds support for JSX in .tsx files. lib Adds a list of library files to the compilation (for example, using es2015...
Read more >TSX and ES6 - WebStorm Guide
The easiest way to see TSX in action? Go to your <h1> and try to add class="" . TypeScript itself has JSX/TSX support...
Read more >Adding TypeScript
Global installs of create-react-app are no longer supported. To add TypeScript to an existing Create React App project, first install it:.
Read more >Importing jsx in tsx - reactjs
I understand the types are missing as it is a JS file. I have added JSDoc types, but nothing seems to help. What...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found

I’ll test this after that PR gets merged, thanks!
This might actually be a bug instead. Something doesn’t make sense, but I’m not sure what yet. I’ll need to run some local tests