From b2c40210fca2c63d7d4458f039cfcadd6a676373 Mon Sep 17 00:00:00 2001 From: Rich Trott Date: Sat, 18 Dec 2021 22:25:02 -0800 Subject: [PATCH] doc: make function signature comply with JSDoc comment --- doc/api/esm.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/api/esm.md b/doc/api/esm.md index 87cecd57ee4691..445b608d9219d8 100644 --- a/doc/api/esm.md +++ b/doc/api/esm.md @@ -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!');