From 2fa43f41b3046fb42f488c8c3f989aa53798908a Mon Sep 17 00:00:00 2001 From: pkc918 Date: Wed, 31 Dec 2025 13:49:11 +0800 Subject: [PATCH] type: unify boolean code style using type inference --- cli/src/cli.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cli/src/cli.ts b/cli/src/cli.ts index f4187e02d..e1531d729 100644 --- a/cli/src/cli.ts +++ b/cli/src/cli.ts @@ -73,7 +73,7 @@ async function runWebClient(args: Args): Promise { ); const abort = new AbortController(); - let cancelled: boolean = false; + let cancelled = false; process.on("SIGINT", () => { cancelled = true; abort.abort();