alex8088 / quick-start

An easy way to start a front-end project.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

New project shows errors on many imports in VSCode

ryantrem opened this issue · comments

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 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.

Used Scaffolding

create-electron

Used Package Manager

npm

Validations

it works in my vscode.