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 6c4bbcc commit 72504d2Copy full SHA for 72504d2
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