Skip to content

Commit 0835d27

Browse files
committed
Update external-modules.md
closes basarat#100 🌹
1 parent ac72a71 commit 0835d27

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

docs/project/external-modules.md

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -44,9 +44,10 @@ The following statement:
4444
import foo = require('foo');
4545
```
4646

47-
actually imports *two* things:
48-
* The type information from the imported file.
49-
* Takes are runtime dependency on the `foo` module.
47+
actually does *two* things:
48+
49+
* Imports the type information of the foo module.
50+
* Specifies a runtime dependency on the foo module.
5051

5152
You can pick and choose so that only *the type information* is loaded and no runtime dependency occurs. Before continuing you might want to recap the [*declaration spaces*](../project/declarationspaces.md) section of the book.
5253

0 commit comments

Comments
 (0)