Add Sources Of NPM Library

Hi, I have a question for people using IntelliJ IDEA. Is it possible to add the Typescript source code of an NPM Library? I sometimes want to look into the original source and this would be nice, since I only have the Definition Files and the compiled JavaScript code of the Library

1 comment

Can't be done on IDE end. If the sources are included in package distribution (published to npm repository), you get them along with compiled files when installing a module via `npm i`; otherwise there is no way for the IDE to access them

0

Please sign in to leave a comment.