Skip to content

Commit

Permalink
doc: fix typo in doc/api/esm.md
Browse files Browse the repository at this point in the history
PR-URL: #37400
Reviewed-By: Richard Lau <[email protected]>
Reviewed-By: Antoine du Hamel <[email protected]>
Reviewed-By: Pooja D P <[email protected]>
Reviewed-By: Rich Trott <[email protected]>
Reviewed-By: Darshan Sen <[email protected]>
Reviewed-By: Zijian Liu <[email protected]>
  • Loading branch information
marsonya authored and targos committed Feb 28, 2021
1 parent 5c27fd7 commit f3559a9
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 @@ -431,7 +431,7 @@ import { readFile } from 'fs/promises';
const json = JSON.parse(await readFile(new URL('./dat.json', import.meta.url)));
```
Alterantively `module.createRequire()` can be used.
Alternatively `module.createRequire()` can be used.
#### No Native Module Loading
Expand Down

0 comments on commit f3559a9

Please sign in to comment.