Fix TS issue

This commit is contained in:
Andrew Kingston 2023-06-02 16:22:07 +01:00
parent 0582dd40b2
commit 6f51843875
1 changed files with 4 additions and 1 deletions

View File

@ -216,7 +216,10 @@ export async function outputProcessing(
}
}
if (opts.squash) {
enriched = await linkRows.squashLinksToPrimaryDisplay(table, enriched)
enriched = (await linkRows.squashLinksToPrimaryDisplay(
table,
enriched
)) as Row[]
}
return wasArray ? enriched : enriched[0]
}