From e27e8272f716fb7569ef4b243ccaeed08f4e073d Mon Sep 17 00:00:00 2001 From: Rich Trott Date: Mon, 20 Dec 2021 22:41:41 -0800 Subject: [PATCH] doc: make function signature comply with JSDoc comment PR-URL: https://github.com/nodejs/node/pull/41242 Reviewed-By: Antoine du Hamel Reviewed-By: James M Snell Reviewed-By: Ruben Bridgewater --- doc/api/esm.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/api/esm.md b/doc/api/esm.md index 6b51a1105a30bb..784573e11b5491 100644 --- a/doc/api/esm.md +++ b/doc/api/esm.md @@ -832,7 +832,7 @@ its own `require` using `module.createRequire()`. }} utilities Things that preload code might find useful * @returns {string} Code to run before application startup */ -export function globalPreload() { +export function globalPreload(utilities) { return `\ globalThis.someInjectedProperty = 42; console.log('I just set some globals!');