Skip to content

Commit 442be20

Browse files
marsonyaaduh95
authored andcommitted
doc: fix typo in doc/api/esm.md
PR-URL: #37400 Reviewed-By: Richard Lau <rlau@redhat.com> Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com> Reviewed-By: Pooja D P <Pooja.D.P@ibm.com> Reviewed-By: Rich Trott <rtrott@gmail.com> Reviewed-By: Darshan Sen <raisinten@gmail.com> Reviewed-By: Zijian Liu <lxxyxzj@gmail.com>
1 parent 910dec0 commit 442be20

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

doc/api/esm.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -435,7 +435,7 @@ import { readFile } from 'fs/promises';
435435
const json = JSON.parse(await readFile(new URL('./dat.json', import.meta.url)));
436436
```
437437
438-
Alterantively `module.createRequire()` can be used.
438+
Alternatively `module.createRequire()` can be used.
439439
440440
#### No Native Module Loading
441441

0 commit comments

Comments
 (0)