question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Add support for tsx and jsx?

See original GitHub issue

It 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:closed
  • Created 3 years ago
  • Comments:6 (1 by maintainers)

github_iconTop GitHub Comments

1reaction
MonliHcommented, Jun 17, 2020

I’ll test this after that PR gets merged, thanks!

0reactions
LunarWatchercommented, Jun 17, 2020

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

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found