Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nodejs/node.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichaël Zasso <targos@protonmail.com>2021-09-18 17:49:12 +0300
committerNode.js GitHub Bot <github-bot@iojs.org>2021-09-20 18:19:25 +0300
commit931abc085e772d3ad35de2d45b22aa4e677b702d (patch)
tree82bb30aaf93ab91cb97aa83b05bfab15c68153d2 /doc/api/esm.md
parent4e7fe5ad599951fdc3d2363f4fcc9ea671f050d5 (diff)
doc: fix markdown indentation in lists
PR-URL: https://github.com/nodejs/node/pull/40142 Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Tobias Nießen <tniessen@tnie.de> Reviewed-By: Rich Trott <rtrott@gmail.com> Reviewed-By: Darshan Sen <raisinten@gmail.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com>
Diffstat (limited to 'doc/api/esm.md')
-rw-r--r--doc/api/esm.md4
1 files changed, 2 insertions, 2 deletions
diff --git a/doc/api/esm.md b/doc/api/esm.md
index a3aa832e7c8..2ad2e690ae9 100644
--- a/doc/api/esm.md
+++ b/doc/api/esm.md
@@ -615,7 +615,7 @@ CommonJS modules loaded.
* `defaultResolve` {Function} The Node.js default resolver.
* Returns: {Object}
* `format` {string|null|undefined}
- `'builtin' | 'commonjs' | 'json' | 'module' | 'wasm'`
+ `'builtin' | 'commonjs' | 'json' | 'module' | 'wasm'`
* `url` {string} The absolute url to the import target (such as `file://…`)
The `resolve` hook returns the resolved file URL for a given module specifier
@@ -686,7 +686,7 @@ export async function resolve(specifier, context, defaultResolve) {
* `url` {string}
* `context` {Object}
* `format` {string|null|undefined} The format optionally supplied by the
- `resolve` hook.
+ `resolve` hook.
* `defaultLoad` {Function}
* Returns: {Object}
* `format` {string}