Skip to content

Commit 77cf19b

Browse files
Update doc/api/module.md
Co-authored-by: Antoine du Hamel <[email protected]>
1 parent 8d7dc74 commit 77cf19b

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

doc/api/module.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -335,8 +335,7 @@ register('./my-hooks.mjs', {
335335
The [`register`][] method can be used to register a module that exports a set of
336336
hooks. The hooks are functions that are called by Node.js to customize the
337337
module resolution and loading process. The exported functions must have specific
338-
names and signatures, and they must be exported as named exports from an ES
339-
module file.
338+
names and signatures, and they must be exported as named exports.
340339
341340
```mjs
342341
export async function initialize({ number, port }) {

0 commit comments

Comments
 (0)