fix: TS errors

This commit is contained in:
Slinetrac
2025-10-18 16:11:42 +08:00
parent c465000178
commit 98725bbecf
8 changed files with 15 additions and 15 deletions

View File

@@ -63,7 +63,7 @@ export const fetchLogsViaIPCPeriodically = async () => {
};
// 初始化全局日志服务 (仅IPC模式)
let ipcPollingInterval: number | null = null;
let ipcPollingInterval: ReturnType<typeof setInterval> | null = null;
let isInitializing = false; // 添加初始化标志
export const initGlobalLogService = (