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 danielleadams committed Jan 12, 2021
1 parent baa8064 commit fad07d5
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 fad07d5

Please sign in to comment.