Skip to content

Commit e8575e9

Browse files
committed
fix: added missing imports
1 parent f7f97ff commit e8575e9

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

content/fundamentals/dynamic-modules.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -183,6 +183,7 @@ That nicely handles passing an `options` object to our dynamic module. How do we
183183
import { Injectable } from '@nestjs/common';
184184
import * as dotenv from 'dotenv';
185185
import * as fs from 'fs';
186+
import * as path from 'path';
186187
import { EnvConfig } from './interfaces';
187188

188189
@Injectable()
@@ -236,6 +237,7 @@ Now we can complete the process by injecting the `'CONFIG_OPTIONS'` provider int
236237
```typescript
237238
import * as dotenv from 'dotenv';
238239
import * as fs from 'fs';
240+
import * as path from 'path';
239241
import { Injectable, Inject } from '@nestjs/common';
240242
import { EnvConfig } from './interfaces';
241243

0 commit comments

Comments
 (0)