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
  • Loading branch information
isti115 committed Jun 5, 2024
1 parent 7882870 commit 0e8c9b7
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 0e8c9b7

Please sign in to comment.