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
Go-to-definition goes to /Users/nic/Library/Caches/deno/npm/registry.npmjs.org/@babel/types/7.26.7/lib/index-legacy.d.ts, but it should go to /Users/nic/Library/Caches/deno/npm/registry.npmjs.org/@babel/types/7.26.7/lib/index.d.ts.
Version: Deno 2.1.7
Deno is resolving the wrong types in
@babel/[email protected]
.Try with this file:
Go-to-definition goes to
/Users/nic/Library/Caches/deno/npm/registry.npmjs.org/@babel/types/7.26.7/lib/index-legacy.d.ts
, but it should go to/Users/nic/Library/Caches/deno/npm/registry.npmjs.org/@babel/types/7.26.7/lib/index.d.ts
.These are the relevant parts of
package.json
:The same behavior happens with
@babel/[email protected]
, which actually includes one more "tool" for Deno to resolve TS types (package.json#exports
):Relevant TS docs:
The text was updated successfully, but these errors were encountered: