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
currently running deno add will only update the deno configuration imports field however this isn't always desirable. for example when using typescript directly for type checking in a project rather than deno's type checker, intellisense imports will not work unless they're specified in the package.json.
with npm packages in deno.jsoncimports:
with npm packages in package.jsondependencies:
The text was updated successfully, but these errors were encountered:
i've noticed that if the package.json is gone entirely, then it also seems to work as expected. i'm not familiar with typescript/vscode internals but i guess it's falling back to checking the node_modules folder if the package.json is missing?
currently running
deno add
will only update the deno configurationimports
field however this isn't always desirable. for example when using typescript directly for type checking in a project rather than deno's type checker, intellisense imports will not work unless they're specified in the package.json.with npm packages in
deno.jsonc
imports
:with npm packages in
package.json
dependencies
:The text was updated successfully, but these errors were encountered: