Closed volkerrichert closed 1 year ago
Thank you for reporting this, @volkerrichert !
Could you please also specify in your report the ts-xor version you're using? Have you tried using the latest v1.2.0
?
Also (theoretically you shouldn't need to do it if I'm understanding things correctly), but does adding "type": "module"
to your package.json
file fix this import issue? If not, then in the meantime try installing a previous version that doesn't give this error to you (perhaps npm install ts-xor@~1.0
?).
It would be most helpful if you could provide a GH repo or stackblitz.com to reproduce this error because I have trouble reproducing it with v1.2.0. :pray:
oh, I "missed" the 1.2.0 update. I was on "1.1.0". Upgrading to 1.2.0 helps to solve the issue
Good to hear. :)
Using TS 5.2 I got
tsconfig compiler options look like