Skip to content

Commit

Permalink
Update external-modules.md
Browse files Browse the repository at this point in the history
closes #100 馃尮
  • Loading branch information
basarat committed Apr 19, 2016
1 parent ac72a71 commit 0835d27
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions docs/project/external-modules.md
Expand Up @@ -44,9 +44,10 @@ The following statement:
import foo = require('foo');
```

actually imports *two* things:
* The type information from the imported file.
* Takes are runtime dependency on the `foo` module.
actually does *two* things:

* Imports the type information of the foo module.
* Specifies a runtime dependency on the foo module.

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.

Expand Down

0 comments on commit 0835d27

Please sign in to comment.