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

Fixed undefined "pooled str" column

parent 946b7d26
No related branches found
No related tags found
No related merge requests found
......@@ -35,7 +35,7 @@ export interface Column<T> {
}
export function UndefinedColumn<T extends ColumnType>(rowCount: number, type: T): Column<T['@type']> {
const value: Column<T['@type']>['value'] = type.kind === 'str' ? row => '' : row => 0;
const value: Column<T['@type']>['value'] = type.isString ? row => '' : row => 0;
return {
'@type': type,
isDefined: false,
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment