You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When working on a project with the Deno LSP, Deno it not picking up @types/* package automatically, unless nodeModulesDir setting is set to "manual". That means in situation when nodeModulesDir is explicitly set to "auto", the typings for npm packages are not found automatically.
With no nodeModulesDir or with nodeModulesDir set to `"manual":
With nodeModulesDir set to "auto":
In other words the LSP should look inside node_modules directory for @types/* packages and always use them if they are available.
The text was updated successfully, but these errors were encountered:
Version: Deno 2.1.2
When working on a project with the Deno LSP, Deno it not picking up
@types/*
package automatically, unlessnodeModulesDir
setting is set to"manual"
. That means in situation whennodeModulesDir
is explicitly set to "auto", the typings for npm packages are not found automatically.With no

nodeModulesDir
or withnodeModulesDir
set to `"manual":With

nodeModulesDir
set to"auto"
:In other words the LSP should look inside
node_modules
directory for@types/*
packages and always use them if they are available.The text was updated successfully, but these errors were encountered: