improve: rename unused parameter
This commit is contained in:
parent
935bb64958
commit
2b6d1e7439
@ -8,7 +8,7 @@ export function parseTTML(text: string) {
|
|||||||
let lyrics: LrcJsonData;
|
let lyrics: LrcJsonData;
|
||||||
const lyricLines = ttmlParser(text).lyricLines;
|
const lyricLines = ttmlParser(text).lyricLines;
|
||||||
lyrics = {
|
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;
|
let words = value.words.length == 0 ? undefined : value.words;
|
||||||
if (words) {
|
if (words) {
|
||||||
words = words.map((word) => {
|
words = words.map((word) => {
|
||||||
|
Loading…
Reference in New Issue
Block a user