fix: remove redundant local variables (#5654)

This commit is contained in:
自由的世界人
2025-05-04 19:56:56 +08:00
committed by GitHub
parent 5ceb2af056
commit f258f5b2cb
12 changed files with 17 additions and 31 deletions
+1 -1
View File
@@ -83,7 +83,7 @@ export class ExportService {
}
break
case 'text':
runs.push(new TextRun({ text: token.content, bold: isHeaderRow ? true : false }))
runs.push(new TextRun({ text: token.content, bold: isHeaderRow }))
break
case 'strong':
runs.push(new TextRun({ text: token.content, bold: true }))