I\'m trying to get started with Typescript for Electron development. After wrestling with getting typing for node and jquery, I finally got my .ts file error free.
The p
I was also facing the same issue and tried by chagning with different versions of typescript but did not work.
Finally I got it - There was a "type": "module" and when I removed it - it worked
"type": "module"