Skip to content

Commit 674820b

Browse files
Update module-reference.md
1 parent b43059e commit 674820b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

content/fundamentals/module-reference.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -189,9 +189,9 @@ const contextId = ContextIdFactory.getByRequest(this.request);
189189
const catsRepository = await this.moduleRef.resolve(CatsRepository, contextId);
190190
```
191191

192-
#### Instantiating classes dynamically
192+
#### Instantiating custom classes dynamically
193193

194-
To dynamically instantiate a class that wasn't previously registered as a provider, use the module reference's `create()` method.
194+
To dynamically instantiate a class that **wasn't previously registered** as a **provider**, use the module reference's `create()` method.
195195

196196
```typescript
197197
@@filename(cats.service)

0 commit comments

Comments
 (0)