After creating a new project via npm create @quick-start/electron electron-test -- --template react-ts, I see errors on many imports in various .ts and .tsx files, as well as with the extends property in the tsconfig files. Adding "allowSyntheticDefaultImports": true, to both tsconfig.node.json and tsconfig.web.json seems to resolve the issue, but if that is the correct configuration then I would expect it to be part of the default template.
Describe the bug
After creating a new project via
npm create @quick-start/electron electron-test -- --template react-ts
, I see errors on many imports in various.ts
and.tsx
files, as well as with theextends
property in the tsconfig files. Adding"allowSyntheticDefaultImports": true,
to bothtsconfig.node.json
andtsconfig.web.json
seems to resolve the issue, but if that is the correct configuration then I would expect it to be part of the default template.Used Scaffolding
create-electron
Used Package Manager
npm
Validations