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've fixed mine with the following:
tsconfig.json
{ "compilerOptions": { "target": "ESNext", "module": "CommonJS", "lib": [ "DOM", "ES5" ], "esModuleInterop": true } }
Adding the esModuleInterop
Removing the "type": "module" from the package.json