Skip to content

Commit fa8d815

Browse files
docs: update README
1 parent 6b3cb64 commit fa8d815

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

README.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,9 +34,10 @@ Configure TypeORM in your app to use the TypeDI container before you create a co
3434

3535
```ts
3636
import { createConnection, useContainer } from 'typeorm';
37-
import { Container } from 'typedi';
37+
import { Container } from 'typeorm-typedi-extensions';
38+
// ▲ Notice how we import container from this library, instead of TypeDI.
3839

39-
/** Tell TypeORM to use the TypeDI container to resolve it's dependencies. */
40+
/** Tell TypeORM to use the container provided by this lib to resolve it's dependencies. */
4041
useContainer(Container);
4142

4243
/** Create a connection and start using TypeORM. */

0 commit comments

Comments
 (0)