Also ran into this issue. create-react-app Typescript template had created a tsconfig file for me, that had "module": "esnext". Changing it to "module": "commonjs" ended up fixing the issue for me.
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
Also ran into this issue.
create-react-app
Typescript template had created atsconfig
file for me, that had"module": "esnext"
. Changing it to"module": "commonjs"
ended up fixing the issue for me.