mirror of
https://github.com/nodejs/node.git
synced 2026-11-24 21:50:36 -05:00
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>
This commit is contained in:
1 parent
dcf1ea0a3f
commit
e27e8272f7
1 file changed
+1
-1
+1
-1
@@ -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!');
|
||||
|
||||
Reference in new issue
Block a user