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: nodejs#53349
Reviewed-By: Geoffrey Booth <[email protected]>
Reviewed-By: Antoine du Hamel <[email protected]>
  • Loading branch information
isti115 authored and eliphazbouye committed Jun 20, 2024
1 parent 0c7e5e3 commit f474011
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 @@ -601,12 +601,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 f474011

Please sign in to comment.