summaryrefslogtreecommitdiff
path: root/cli/js/repl.ts
diff options
context:
space:
mode:
Diffstat (limited to 'cli/js/repl.ts')
-rw-r--r--cli/js/repl.ts4
1 files changed, 2 insertions, 2 deletions
diff --git a/cli/js/repl.ts b/cli/js/repl.ts
index f38324d11..d1cf63cd9 100644
--- a/cli/js/repl.ts
+++ b/cli/js/repl.ts
@@ -35,8 +35,8 @@ function isRecoverableError(e: Error): boolean {
// Returns `true` if `close()` is called in REPL.
// We should quit the REPL when this function returns `true`.
function isCloseCalled(): boolean {
- // @ts-expect-error
- return globalThis.closed;
+ // eslint-disable-next-line @typescript-eslint/no-explicit-any
+ return (globalThis as any).closed;
}
// eslint-disable-next-line @typescript-eslint/no-explicit-any