typescript-tools.nvim icon indicating copy to clipboard operation
typescript-tools.nvim copied to clipboard

Type definitions not available for external dependency

Open serpro69 opened this issue 8 months ago • 0 comments

Hi,

I'm writing some simple K6 tests, and following their installation guidelines (https://grafana.com/docs/k6/latest/set-up/configure-your-code-editor/), tried to setup type definitions for the API (https://www.npmjs.com/package/@types/k6). However, after installing @types/k6 dependency, I could not see any type definitions for k6.

I tried to disable typescript-tools and enable ts_ls instead, and it worked there just fine. So it does seem like an issue with typescript-tools?

This is the result I have with ts_ls:

Image

And the same code with typescript-tools:

Image

serpro69 avatar Apr 14 '25 14:04 serpro69