eslint fix

This commit is contained in:
mtvpls
2026-01-23 16:41:49 +08:00
parent a167763324
commit 6eaed34b14
107 changed files with 311 additions and 318 deletions
+10 -12
View File
@@ -1,6 +1,14 @@
// 弹幕 API 服务封装(通过本地代理转发)
import {
clearAllDanmakuCache,
clearDanmakuCache,
clearExpiredDanmakuCache,
generateCacheKey,
getDanmakuCacheStats,
getDanmakuFromCache,
saveDanmakuToCache,
} from './cache';
import type {
DanmakuAnime,
DanmakuComment,
DanmakuCommentsResponse,
DanmakuEpisodesResponse,
@@ -10,16 +18,6 @@ import type {
DanmakuSettings,
} from './types';
import {
getDanmakuFromCache,
saveDanmakuToCache,
clearExpiredDanmakuCache,
clearAllDanmakuCache,
clearDanmakuCache,
getDanmakuCacheStats,
generateCacheKey,
} from './cache';
// 初始化弹幕模块(清理过期缓存)
let _cacheCleanupInitialized = false;
@@ -46,8 +44,8 @@ export {
clearAllDanmakuCache,
clearDanmakuCache,
clearExpiredDanmakuCache,
getDanmakuCacheStats,
generateCacheKey,
getDanmakuCacheStats,
getDanmakuFromCache,
};