From daa02200f0380505e35d31a570446db0246ed1fd Mon Sep 17 00:00:00 2001 From: Yuka MORI <54881138+metastable-void@users.noreply.github.com> Date: Tue, 17 Feb 2026 12:39:53 +0900 Subject: [PATCH] Change matches type to nullable in ConsoleFormatter Fix ESLint errors --- src/lib/console/ConsoleFormatter.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lib/console/ConsoleFormatter.ts b/src/lib/console/ConsoleFormatter.ts index 0f078b87..92fd342e 100644 --- a/src/lib/console/ConsoleFormatter.ts +++ b/src/lib/console/ConsoleFormatter.ts @@ -35,8 +35,8 @@ export class ConsoleFormatter { const tokens = ConsoleFormatter.tokenize(firstArg); const results: unknown[] = []; let strBuffer = ''; - let matches: string[] | null = null; for (const token of tokens) { + let matches: ?string[]; if (token == '%%') { strBuffer += '%'; } else if (token == '%o' || token == '%O') {