You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When I update typescript from 4.2.4 to 4.6.4,I get error
D:/douyin/src/index.ts(1,15): error TS6059: File 'D:/douyin/common/index.ts' is not under 'rootDir' . 'rootDir' is expected to contain all source files.
If I downgrade owngrade typescript to 4.2.4,it works. Therefore, the new version of typescript must have made some adjustments, which led to the problem。I used gulp-typescript to build my app,below is directory structure
When I update typescript from 4.2.4 to 4.6.4,I get error
If I downgrade owngrade typescript to 4.2.4,it works. Therefore, the new version of typescript must have made some adjustments, which led to the problem。I used
gulp-typescript
to build my app,below is directory structuretsconfig.json
src/index.ts
gulp.js
The text was updated successfully, but these errors were encountered: