Skip to content

Commit 9bb6692

Browse files
authored
Update recipes.md
1 parent 7837b9e commit 9bb6692

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

10/recipes.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1605,7 +1605,7 @@ import { databaseProviders } from './database.providers';
16051605
export class DatabaseModule {}
16061606
```
16071607

1608-
现在我们可以使用 `@Inject()` 装饰器注入 `Connection` 对象。依赖于 `Connection` 异步提供者的每个类都将等待 `Promise` 被解析。
1608+
现在我们可以使用 `@Inject()` 装饰器注入 `DATA_SOURCE` 对象。依赖于 `DATA_SOURCE` 异步提供者的每个类都将等待 `Promise` 被解析。
16091609

16101610
### 存储库模式
16111611

0 commit comments

Comments
 (0)