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 committed Dec 21, 2021
1 parent cf69964 commit 2bc1d92
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion doc/api/esm.md
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 2bc1d92

Please sign in to comment.