Alternatively, you could avoid this with:

"module": "Preserve",

and omit "moduleResolution".

Then import "./foo" would work.

Source: x.com/mattpocockuk/status/1839925814193729958

Reply to this note

Please Login to reply.

Discussion

No replies yet.