1
0
Fork 0
mirror of synced 2024-10-04 03:54:37 +13:00

Fixing build issue.

This commit is contained in:
mike12345567 2023-11-07 11:07:25 +00:00
parent d2a156d5f0
commit 49b00ee7ee

View file

@ -49,7 +49,7 @@ export function processFormulas<T extends Row | Row[]>(
table: Table,
inputRows: T,
{ dynamic, contextRows }: FormulaOpts = { dynamic: true }
): Promise<T> {
): T {
const rows = Array.isArray(inputRows) ? inputRows : [inputRows]
if (rows)
for (let [column, schema] of Object.entries(table.schema)) {