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: #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 danielleadams committed Jan 31, 2022
1 parent 6b198c2 commit 8d8225b
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 @@ -789,7 +789,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 8d8225b

Please sign in to comment.