ts 引入文件报错问题 File 'xxx.ts' is not listed within the file list of project 'xxx.json'. Projects must list all files or use an 'include' pattern. 解决 在tsconfig.json中添加include { "include": ["src/**/*.ts"], } //已经有的可修改添加 如果使用的是webstorm需重启后生效