chore: format

This commit is contained in:
2026-05-26 22:49:00 +02:00
parent 95ca4dd892
commit a5fdd8b999
4 changed files with 149 additions and 101 deletions

View File

@@ -172,8 +172,7 @@ export const initState = (c: HTMLElement): boolean => {
const isSubtitleItemArray = (v: unknown): v is { lang: string; token: string }[] =>
Array.isArray(v) &&
v.every(
item =>
isRecord(item) && typeof item.lang === 'string' && typeof item.token === 'string'
item => isRecord(item) && typeof item.lang === 'string' && typeof item.token === 'string'
);
const parseModeSources = (v: unknown): Record<string, ModeSource> => {