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 <gpunathi@in.ibm.com>
Reviewed-By: Beth Griggs <bgriggs@redhat.com>
Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
Reviewed-By: Richard Lau <rlau@redhat.com>
Reviewed-By: Pooja D P <Pooja.D.P@ibm.com>
  • 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
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.