summaryrefslogtreecommitdiff
path: root/cli/js/repl.ts
diff options
context:
space:
mode:
authorKitson Kelly <me@kitsonkelly.com>2020-05-27 00:02:16 +1000
committerGitHub <noreply@github.com>2020-05-26 10:02:16 -0400
commit228f9c207f8320908325a553c96e465da08fc617 (patch)
tree54f2aba9f577d713dcbed5882ae7ae9e53c7baaf /cli/js/repl.ts
parent24c36fd8625df6b276108109478a62b4661a0b3f (diff)
Use ts-expect-error instead of ts-ignore. (#5869)
Diffstat (limited to 'cli/js/repl.ts')
-rw-r--r--cli/js/repl.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/cli/js/repl.ts b/cli/js/repl.ts
index c84be68b1..79273ed33 100644
--- a/cli/js/repl.ts
+++ b/cli/js/repl.ts
@@ -35,7 +35,7 @@ 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-ignore
+ // @ts-expect-error
return globalThis.closed;
}