Quantcast
Channel: Active questions tagged visual-studio-code - Stack Overflow
Viewing all articles
Browse latest Browse all 97327

Is there a way to include the Typescript sources along with the NPM package?

$
0
0

I am studying the lsp-sample server for the sake of eventually creating a plugin for my own language. In order to get confidence for how everything works I am trying to trace through the system with a debugger and unfortunately when it comes to Node packages, their sources all seem to be in JS. In particular, tracing the createConnection call on the line I've indicated leads to JS version of this TS function.

For packages originally written in Typescript does NPM have a way to include their TS sources so I can debug through those instead?


Viewing all articles
Browse latest Browse all 97327

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>