diff --git a/doc/api/module.md b/doc/api/module.md index f1e2c72d4298d3..69e34f1cdcf512 100644 --- a/doc/api/module.md +++ b/doc/api/module.md @@ -1226,7 +1226,7 @@ opt-in to using the non-default behavior: import { readFile } from 'node:fs/promises'; // Asynchronous version accepted by module.register(). This fix is not needed -// for the synchronous version accepted by module.registerSync(). +// for the synchronous version accepted by module.registerHooks(). export async function load(url, context, nextLoad) { const result = await nextLoad(url, context); if (result.format === 'commonjs') {