Skip to content

Commit a0221be

Browse files
joyeecheungaduh95
andauthored
fixup! esm: improve ERR_REQUIRE_ASYNC_MODULE
Co-authored-by: Antoine du Hamel <duhamelantoine1995@gmail.com>
1 parent 54728e7 commit a0221be

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

doc/api/errors.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2772,7 +2772,7 @@ changes:
27722772
description: Added the `requireStack` and `topLevelAwaitLocations` properties.
27732773
-->
27742774

2775-
When trying to `require()` a [ES Module][], the module turns out to be asynchronous.
2775+
When trying to `require()` an [ES Module][], the module turns out to be asynchronous.
27762776
That is, it contains top-level await.
27772777

27782778
When uncaught, the flag `--experimental-print-required-tla` prints

0 commit comments

Comments
 (0)