Skip to content

Using vitest-mock-extended with "NodeNext" typescript config does not compile #546

Description

@mhintzke

Without vitest-mock-extended:

https://stackblitz.com/edit/vitest-5820

With vitest-mock-extended:

https://stackblitz.com/edit/vitest-5820-megvgc

image

Workaround:

Use skipLibCheck: true in tsconfig.json, but this isn't great

Another developer from vitest issues showed me this https://arethetypeswrong.github.io/?p=vitest-mock-extended%402.0.0 which shows the packages has malformed module syntax.

Metadata

Metadata

Assignees

Labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions