summaryrefslogtreecommitdiff
path: root/cli
diff options
context:
space:
mode:
Diffstat (limited to 'cli')
-rw-r--r--cli/js/globals.ts6
1 files changed, 4 insertions, 2 deletions
diff --git a/cli/js/globals.ts b/cli/js/globals.ts
index 21ce7e619..1104762b9 100644
--- a/cli/js/globals.ts
+++ b/cli/js/globals.ts
@@ -93,8 +93,10 @@ declare global {
shared: SharedArrayBuffer;
- // eslint-disable-next-line @typescript-eslint/no-explicit-any
- evalContext(code: string): [any, EvalErrorInfo | null];
+ evalContext(
+ code: string,
+ scriptName?: string
+ ): [unknown, EvalErrorInfo | null];
formatError: (e: Error) => string;