Skip to content

Commit

Permalink
doc: fix mistakes in the module load hook api
Browse files Browse the repository at this point in the history
PR-URL: #53349
Reviewed-By: Geoffrey Booth <[email protected]>
Reviewed-By: Antoine du Hamel <[email protected]>
  • Loading branch information
isti115 authored and marco-ippolito committed Jul 19, 2024
1 parent c0ff5bf commit 71fff06
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions doc/api/module.md
Original file line number Diff line number Diff line change
Expand Up @@ -590,12 +590,12 @@ changes:
* `importAttributes` {Object}
* `nextLoad` {Function} The subsequent `load` hook in the chain, or the
Node.js default `load` hook after the last user-supplied `load` hook
* `specifier` {string}
* `url` {string}
* `context` {Object}
* Returns: {Object}
* `format` {string}
* `shortCircuit` {undefined|boolean} A signal that this hook intends to
terminate the chain of `resolve` hooks. **Default:** `false`
terminate the chain of `load` hooks. **Default:** `false`
* `source` {string|ArrayBuffer|TypedArray} The source for Node.js to evaluate
The `load` hook provides a way to define a custom method of determining how a
Expand Down

0 comments on commit 71fff06

Please sign in to comment.