Skip to content

Unable to resolve path to module 'bun:test' with 4.0.0 while 3.9.1 is OK #386

Closed
@tomchen

Description

@tomchen

Minimal repro:

git clone https://github.com/tomchen/eslint-import-resolver-typescript-bun-test.git

bun install

bun eslint

(or with npm, yarn, etc.)

It shows:

error Unable to resolve path to module 'bun:test' import/no-unresolved

But if you downgrade eslint-import-resolver-typescript v4.0.0 to v3.9.1, the error will disappear

P.S. @types/bun package is a shim that loads bun-types, type definitions for bun

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions