From fad07d5439e2aa63e69c9eb53350a69e82150e47 Mon Sep 17 00:00:00 2001 From: Mohamed Kamagate Date: Tue, 5 Jan 2021 04:25:54 -0800 Subject: [PATCH] doc: fix typo in esm documentation PR-URL: https://github.com/nodejs/node/pull/36800 Reviewed-By: Gireesh Punathil Reviewed-By: Beth Griggs Reviewed-By: Antoine du Hamel Reviewed-By: Richard Lau Reviewed-By: Pooja D P --- doc/api/esm.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/api/esm.md b/doc/api/esm.md index 17879fda4244bd..6d968c15530fb0 100644 --- a/doc/api/esm.md +++ b/doc/api/esm.md @@ -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