diff options
Diffstat (limited to 'cli/js/globals.ts')
-rw-r--r-- | cli/js/globals.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cli/js/globals.ts b/cli/js/globals.ts index 9a7161ff0..fd2082e40 100644 --- a/cli/js/globals.ts +++ b/cli/js/globals.ts @@ -96,7 +96,7 @@ declare global { // eslint-disable-next-line @typescript-eslint/no-explicit-any evalContext(code: string): [any, EvalErrorInfo | null]; - errorToJSON: (e: Error) => string; + formatError: (e: Error) => string; } // Only `var` variables show up in the `globalThis` type when doing a global |