Types are not found when using node with ESM and typescript@4.7.2
with NodeNext
#1004
Labels
c: bug
Something isn't working
p: 1-normal
Nothing urgent
s: accepted
Accepted feature / Confirmed bug
Milestone
Describe the bug
Yesterday Typescript released a new version (4.7.2) that adds ESM support for Nodejs 16+ (see their release announcement).
faker is broken when using it, here is the error:
I upgraded to 7.0.0 and it was fixed, but 7.0.1 reverts the fix (PR here), I couldn't find the reason for that anywhere.
Reproduction
Minimal repro is available here: https://github.com/julienfouilhe/faker-node-next-ts-repo with steps to reproduce available in the README.
Additional Info
7.0.0 fixes the issue.
The text was updated successfully, but these errors were encountered: