tsc --noEmit无效
joyexpr opened this issue · comments
joyexpr commented
Describe the bug
yarn create @quick-start/electron,选择vue typescript,typescript版本为:4.8.3(4.7.4也试过)
ts文件(如main/index.ts)中随便写一句非法语句,如a = b,执行npm run typecheck,无法检出该错误
是否是tsconfig配置有些问题?我随便拷了一个服务端项目的tsconfig配置执行tsc可以检出错误
Used Scaffolding
create-electron
Used Package Manager
yarn
Validations
- Follow the Code of Conduct.
- Read the Contributing Guidelines.
- Read the docs.
- Check that there isn't already an issue that reports the same bug to avoid creating a duplicate.
alex.wei commented
我看看