format code

This commit is contained in:
2024-02-21 12:05:28 +08:00
parent aa7fbd47a0
commit cc778d22b4
12 changed files with 1197 additions and 1061 deletions

View File

@@ -9,7 +9,12 @@ const builder = new XMLBuilder({
format: true,
})
export function GetString(account: AccountInfo | undefined, live: ResponseLiveInfoModel, danmakus: DanmakuModel[], type: 'json' | 'xml' | 'csv') {
export function GetString(
account: AccountInfo | undefined,
live: ResponseLiveInfoModel,
danmakus: DanmakuModel[],
type: 'json' | 'xml' | 'csv',
) {
const tempDanmakus = new List(danmakus)
.Select((d) => {
return {