From a6e7cf5bd4b137a0fbdab8f7d53b5af8289a95f1 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 4700e1afb69746..c49581fc9ea491 100644 --- a/doc/api/esm.md +++ b/doc/api/esm.md @@ -827,7 +827,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!');