typescript-tools.nvim
typescript-tools.nvim copied to clipboard
Type definitions not available for external dependency
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:
And the same code with typescript-tools: