
在tsconfig.app.json中添加,记得一定是 tsconfig.app.json 中,如添加到 tsconfig.node.json 还是会报错的
哈哈哈哈,不瞒你们,我就添加错了,哈哈哈。所以这也算写一个demo提醒自己
"compilerOptions": {
"composite": true,
"tsBuildInfoFile": "./node_modules/.tmp/tsconfig.app.tsbuildinfo",
// 添加
"moduleResolution": "node",
// 有的可能项目创建后有,若没有请添加
"baseUrl": ".",
"paths": {
"@/*": ["./src/*"]
}
最后请重启 编译器





![[译]Elasticsearch _source Doc_values And Store Performance](https://img-blog.csdnimg.cn/direct/d14fa241548845958932e7e41d9e4d2a.jpeg#pic_center)










![[Java EE] 多线程(九):ReentrantLock,Semaphore,CountDownLatch与线程安全的集合类(多线程完结)](https://img-blog.csdnimg.cn/direct/c5f7bd09aaf04596a9befb4f3b5872d1.png)


