Skip to content

Commit 8d8225b

Browse files
Trottdanielleadams
authored andcommitted
doc: make function signature comply with JSDoc comment
PR-URL: #41242 Reviewed-By: Antoine du Hamel <[email protected]> Reviewed-By: James M Snell <[email protected]> Reviewed-By: Ruben Bridgewater <[email protected]>
1 parent 6b198c2 commit 8d8225b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

doc/api/esm.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -789,7 +789,7 @@ its own `require` using `module.createRequire()`.
789789
}} utilities Things that preload code might find useful
790790
* @returns {string} Code to run before application startup
791791
*/
792-
export function globalPreload() {
792+
export function globalPreload(utilities) {
793793
return `\
794794
globalThis.someInjectedProperty = 42;
795795
console.log('I just set some globals!');

0 commit comments

Comments
 (0)