We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f320593 commit 2b4e737Copy full SHA for 2b4e737
doc/api/module.md
@@ -1370,7 +1370,7 @@ opt-in to using the non-default behavior:
1370
import { readFile } from 'node:fs/promises';
1371
1372
// Asynchronous version accepted by module.register(). This fix is not needed
1373
-// for the synchronous version accepted by module.registerSync().
+// for the synchronous version accepted by module.registerHooks().
1374
export async function load(url, context, nextLoad) {
1375
const result = await nextLoad(url, context);
1376
if (result.format === 'commonjs') {
0 commit comments