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 fadb3b5 commit 05da8efCopy full SHA for 05da8ef
doc/api/module.md
@@ -1226,7 +1226,7 @@ opt-in to using the non-default behavior:
1226
import { readFile } from 'node:fs/promises';
1227
1228
// Asynchronous version accepted by module.register(). This fix is not needed
1229
-// for the synchronous version accepted by module.registerSync().
+// for the synchronous version accepted by module.registerHooks().
1230
export async function load(url, context, nextLoad) {
1231
const result = await nextLoad(url, context);
1232
if (result.format === 'commonjs') {
0 commit comments