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.

Typescript dependencies support

See original GitHub issue

I don’t seem to be able to display components hierarchy links (as per JS files) for a project with .tsx react component files.

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:5 (5 by maintainers)

github_iconTop GitHub Comments

jbcamcommented, Mar 27, 2019

Sure! At least I can try 😉

On Tue, Mar 26, 2019 at 7:46 PM Bohdan Liashenko wrote:

I see. That’s “Dependencies tree”. So, here is the deal, currently this feature supported only for JavaScript, it’s mentioned in README somewhere 😃. To build dependencies tree I need some way to resolve dependencies based on imports/exports or whatever way that particular language handles it. For JavaScript I use, and for other languages there are placeholders which resolve empty arrays (and waiting for being implemented). E.g.

I just checked now and it seems to support TS as well. It should be fairly easy to implement its usage as well. Are you interested to contribute? 😉

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or mute the thread .

Jean-Baptiste CAMARET Front-end Developer Website:

*** Découvrez Lifen notre plateforme d’échange de documents médicaux, et notre app de gestion de Planning de garde ***

Bogdan-Lyashenkocommented, Mar 27, 2019

Awesome. Check the links to files above. Also see how JS does it Ping me if need anything. Thanks)

Read more comments on GitHub >

github_iconTop Results From Across the Web

How to set up TypeScript
All of these dependency managers support lockfiles, ensuring that everyone on your team is using the same version of the language. You can...
Read more >
Documentation - Publishing - TypeScript
All dependencies are managed by npm. Make sure all the declaration packages you depend on are marked appropriately in the "dependencies" section in...
Read more >
Documentation - Module Resolution - TypeScript
Use non-relative paths when importing any of your external dependencies. ... The TypeScript compiler supports the declaration of such mappings using paths ...
Read more >
Documentation - ECMAScript Modules in Node.js - TypeScript
Node.js supports a new setting in package.json called type . "type" can be set to either "module" or "commonjs" . ... This setting...
Read more >
Documentation - TypeScript 4.7
For the last few years, Node.js has been working to support ECMAScript modules ... Imports might resolve differently from dependencies in node_modules ....
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 Post

No results found

github_iconTop Related Hashnode Post

No results found