Skip to content
Snippets Groups Projects
Commit b2c1012c authored by David Sehnal's avatar David Sehnal
Browse files

Fixed Table.columnToArray

parent 923404c2
No related branches found
No related tags found
No related merge requests found
File suppressed by a .gitattributes entry or the file's encoding is unsupported.
......@@ -89,7 +89,7 @@ namespace Table {
}
export function columnToArray<S extends Schema>(table: Table<S>, name: keyof S, array?: Column.ArrayCtor<any>) {
table[name] = Column.asArrayColumn(table[name], array);
(table as Columns<S>)[name] = Column.asArrayColumn((table as Columns<S>)[name], array);
}
/** Sort and return a new table */
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment