Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nodejs/node.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRich Trott <rtrott@gmail.com>2021-12-21 09:41:41 +0300
committerGitHub <noreply@github.com>2021-12-21 09:41:41 +0300
commit2bc1d9245b987aa747173f5aea4883df18314f46 (patch)
treec0bcc8d402be29988a634d14839aec1632f35b7d /doc/api/esm.md
parentcf6996458b82ec0bdf97209bce380e1483c349fb (diff)
doc: make function signature comply with JSDoc comment
PR-URL: https://github.com/nodejs/node/pull/41242 Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
Diffstat (limited to 'doc/api/esm.md')
-rw-r--r--doc/api/esm.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/api/esm.md b/doc/api/esm.md
index 87cecd57ee4..445b608d921 100644
--- a/doc/api/esm.md
+++ b/doc/api/esm.md
@@ -833,7 +833,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!');