Skip to content

Commit

Permalink
doc: make function signature comply with JSDoc comment
Browse files Browse the repository at this point in the history
PR-URL: nodejs#41242
Reviewed-By: Antoine du Hamel <[email protected]>
Reviewed-By: James M Snell <[email protected]>
Reviewed-By: Ruben Bridgewater <[email protected]>
  • Loading branch information
Trott authored and Linkgoron committed Jan 31, 2022
1 parent 8f5d17f commit 2cc8ed9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion doc/api/esm.md
Original file line number Diff line number Diff line change
Expand Up @@ -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!');
Expand Down

0 comments on commit 2cc8ed9

Please sign in to comment.