improve: rename unused parameter

This commit is contained in:
alikia2x (寒寒) 2024-10-30 21:10:37 +08:00
parent 935bb64958
commit 2b6d1e7439
Signed by: alikia2x
GPG Key ID: 56209E0CCD8420C6

View File

@ -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) => {