我有一个预提交挂钩要运行 tsc --noEmit --incremental 检查ts错误
tsc --noEmit --incremental
当我更改分支并提交时,我会从其他分支的文件中得到“找不到模块”
我该怎么修?以及如何清除其缓存?