// 逐字歌词的数据结构 export class LyricWord { word: string startTime: number duration: number constructor(word: string, startTime: number, duration: number) { this.word = word this.startTime = startTime this.duration = duration } }