yortus / require-self

Lets you require('foobar') from within foobar itself
MIT License
19 stars 5 forks source link

Does not work with Typescript VSCode intellisense. #12

Closed jlguenego closed 4 years ago

jlguenego commented 4 years ago

Very useful module. But I cannot make it working with Visual Studio Code Intellisense. Help appreciated.

yortus commented 4 years ago

Hi @jlguenego, sorry for the delay, I haven't looked at this project in a long while. I just added a few lines to the bin script so it should work with TypeScript packages now. Try v0.2.2 (latest) and let me know if it works.

yortus commented 4 years ago

Closing as fixed. Feel free to re-open if there are still problems.

jlguenego commented 4 years ago

I tested it on my project. It works ! Thanks a lot ;) The correction you have made is exactly what I was expecting. So now I will remove my custom script and use your module.

Again thanks !

Note: My module is node-expose-sspi.