diff --git a/packages/core/lyrics/ttml/index.ts b/packages/core/lyrics/ttml/index.ts index 618c85d..8904b17 100644 --- a/packages/core/lyrics/ttml/index.ts +++ b/packages/core/lyrics/ttml/index.ts @@ -8,7 +8,7 @@ export function parseTTML(text: string) { let lyrics: LrcJsonData; const lyricLines = ttmlParser(text).lyricLines; lyrics = { - scripts: lyricLines.map((value: LyricLine, index: number, array: LyricLine[]) => { + scripts: lyricLines.map((value: LyricLine, _index: number, _array: LyricLine[]) => { let words = value.words.length == 0 ? undefined : value.words; if (words) { words = words.map((word) => {