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 <duhamelantoine1995@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
  • Loading branch information
Trott authored and targos committed Jan 14, 2022
1 parent dcf1ea0 commit e27e827
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 @@ -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!');
Expand Down

0 comments on commit e27e827

Please sign in to comment.