The following errors occur occasionally, and i execute save file,and recompile . this error is disappears.
In this case, I don't know how to configure include
Add: the error occurs only in files that use the import statement
src\mulit\cloud.ts(1,25): error TS6307: File 'D:/workspace/mp/zb-ugg/src/config.ts' is not listed within the file list of project ''. Projects must list all files or use an 'include' pattern.
src\mulit\cloud.ts(2,21): error TS6307: File 'D:/workspace/mp/zb-ugg/src/utils/api.ts' is not listed within the file list of project ''. Projects must list all files or use an 'include' pattern.
D:/workspace/mp/zb-ugg/src/utils/api.ts(1,34): error TS6307: File 'D:/workspace/mp/zb-ugg/src/utils/wechat-version-diff.ts' is not listed within the file list of project ''. Projects must list all files or use an 'include' pattern.
Expected behavior:
Actual behavior:
Add: the error occurs only in files that use the import statement
Your gulpfile:
tsconfig.json
Code
Include your TypeScript code, if necessary.