Skip to content

Commit 3ecda60

Browse files
authored
Merge pull request #592 from numb86/patch-2
Fix moduleResolution explain
2 parents e8a3217 + ae1fb16 commit 3ecda60

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
@@ -125,7 +125,7 @@ import someLocalNameForThisFile from "../foo";
125125

126126
### Module paths
127127

128-
> 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`.
128+
> I am just going to assume `moduleResolution: "Node"`. This is the option you should have in your TypeScript config. This setting is implied automatically by `module:commonjs`.
129129
130130
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'`).
131131

0 commit comments

Comments
 (0)