Skip to content

Commit 2bc1d92

Browse files
authored
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 cf69964 commit 2bc1d92

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
@@ -833,7 +833,7 @@ its own `require` using `module.createRequire()`.
833833
}} utilities Things that preload code might find useful
834834
* @returns {string} Code to run before application startup
835835
*/
836-
export function globalPreload() {
836+
export function globalPreload(utilities) {
837837
return `\
838838
globalThis.someInjectedProperty = 42;
839839
console.log('I just set some globals!');

0 commit comments

Comments
 (0)