
解决方案:
在tsconfig.app.json中添加“include”:
在tsconfig.json中添加“files”:

完美解决!
本文介绍了解决TypeScript项目编译问题的方法,通过在tsconfig.app.json中添加include配置项,并在tsconfig.json中加入files设置,有效解决了编译时遇到的各类错误。

解决方案:
在tsconfig.app.json中添加“include”:
在tsconfig.json中添加“files”:

完美解决!
2714
3557
1万+