Skip to content

Commit 7b5cead

Browse files
authored
Merge pull request basarat#470 from gjritter/patch-2
Correct spelling of “statement”
2 parents 1235197 + 0f802ba commit 7b5cead

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/project/external-modules.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -126,7 +126,7 @@ import someLocalNameForThisFile from "../foo";
126126

127127
> I am just going to assume `moduleResolution: commonjs`. This is the option you should have in your TypeScript config. This setting is implied automatically by `module:commonjs`.
128128
129-
There are two distinct kinds of modules. The distinction is driven by the path section of the import statment (e.g. `import foo from 'THIS IS THE PATH SECTION'`).
129+
There are two distinct kinds of modules. The distinction is driven by the path section of the import statement (e.g. `import foo from 'THIS IS THE PATH SECTION'`).
130130

131131
* Relative path modules (where path starts with `.` e.g. `./someFile` or `../../someFolder/someFile` etc.)
132132
* Other dynamic lookup modules (e.g. `'core-js'` or `'typestyle'` or `'react'` or even `'react/core'` etc.)

0 commit comments

Comments
 (0)