fix: type of timelineConfig in hybrid-timeline

This commit is contained in:
anatawa12
2023-12-02 17:44:35 +09:00
parent e159c221f8
commit 9e1ceaf86c
@@ -124,7 +124,7 @@ export default class extends Endpoint<typeof meta, typeof paramDef> { // eslint-
this.cacheService.userBlockedCache.fetch(me.id), this.cacheService.userBlockedCache.fetch(me.id),
]); ]);
let timelineConfig: (string | { name: string, fallbackIfEmpty: boolean })[]; let timelineConfig: string[];
if (ps.withFiles) { if (ps.withFiles) {
timelineConfig = [ timelineConfig = [