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:
parent
cf6996458b
commit
2bc1d9245b
@ -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!');
|
||||
|
Loading…
x
Reference in New Issue
Block a user