docs: update Chinese faq.md (#10593)

This commit is contained in:
zhennann 2024-01-03 12:52:50 +08:00 committed by GitHub
parent a00b1df68f
commit b5ec0889f7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -149,7 +149,7 @@ createConnection({
此时你的项目中不再有`Post.ts`。 但是,`Post.js`保留在输出目录中。
现在,当 TypeORM 从输出目录中读取实体时,它会看到两个实体 - `Post``Blog`
这可能是错误的根源。
这就是为什么当你删除并移动启用了`utDir`的实体时,强烈建议删除输出目录并重新编译项目。
这就是为什么当你删除并移动启用了`outDir`的实体时,强烈建议删除输出目录并重新编译项目。
## 如何将TypeORM和ts-node一起使用