diff options
author | Rich Trott <rtrott@gmail.com> | 2021-12-21 09:41:41 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-12-21 09:41:41 +0300 |
commit | 2bc1d9245b987aa747173f5aea4883df18314f46 (patch) | |
tree | c0bcc8d402be29988a634d14839aec1632f35b7d /doc/api/esm.md | |
parent | cf6996458b82ec0bdf97209bce380e1483c349fb (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.md | 2 |
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!'); |