Skip to content

Commit a6e7cf5

Browse files
Trottdanielleadams
authored andcommitted
doc: make function signature comply with JSDoc comment
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>
1 parent e68bf84 commit a6e7cf5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

doc/api/esm.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -827,7 +827,7 @@ its own `require` using `module.createRequire()`.
827827
}} utilities Things that preload code might find useful
828828
* @returns {string} Code to run before application startup
829829
*/
830-
export function globalPreload() {
830+
export function globalPreload(utilities) {
831831
return `\
832832
globalThis.someInjectedProperty = 42;
833833
console.log('I just set some globals!');

0 commit comments

Comments
 (0)