Skip to content

Commit

Permalink
doc: fix typo in esm documentation
Browse files Browse the repository at this point in the history
PR-URL: #36800
Reviewed-By: Gireesh Punathil <[email protected]>
Reviewed-By: Beth Griggs <[email protected]>
Reviewed-By: Antoine du Hamel <[email protected]>
Reviewed-By: Richard Lau <[email protected]>
Reviewed-By: Pooja D P <[email protected]>
  • Loading branch information
kamagatos authored and targos committed May 1, 2021
1 parent 095c69d commit 8f48e77
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion doc/api/esm.md
Original file line number Diff line number Diff line change
Expand Up @@ -316,7 +316,7 @@ compatibility.
The CommonJS module `require` always treats the files it references as CommonJS.
Using `require` to load an ES module is not supported because ES modules have
asynchronous execution. Instead, use use [`import()`][] to load an ES module
asynchronous execution. Instead, use [`import()`][] to load an ES module
from a CommonJS module.
### CommonJS Namespaces
Expand Down

0 comments on commit 8f48e77

Please sign in to comment.