From 497341f338f804111e950e693dee53458dbeebe1 Mon Sep 17 00:00:00 2001 From: Matthew Raymer Date: Sun, 2 Nov 2025 06:16:31 +0000 Subject: [PATCH] linting(test-user-zero): fix to typing of logger --- test-apps/daily-notification-test/src/config/test-user-zero.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test-apps/daily-notification-test/src/config/test-user-zero.ts b/test-apps/daily-notification-test/src/config/test-user-zero.ts index 05623fa..244943e 100644 --- a/test-apps/daily-notification-test/src/config/test-user-zero.ts +++ b/test-apps/daily-notification-test/src/config/test-user-zero.ts @@ -12,7 +12,7 @@ // Lazy import logger to avoid ES module issues when loaded by Capacitor CLI (CommonJS) // Logger is only used inside functions, not at module scope let logger: { error: (...args: unknown[]) => void; custom: (emoji: string, ...args: unknown[]) => void } | null = null; -const getLogger = async () => { +const getLogger = async (): Promise<{ error: (...args: unknown[]) => void; custom: (emoji: string, ...args: unknown[]) => void } | null> => { if (!logger) { const loggerModule = await import('../lib/logger'); logger = loggerModule.logger;