Skip to content

Commit

Permalink
Fixed issue with Typescript (#205)
Browse files Browse the repository at this point in the history
  • Loading branch information
cccs-Dustin authored and GITHUB_USERNAME committed Feb 7, 2023
1 parent 6ade0fb commit bc81cb4
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@ export type PhysicalColumn = string;
* Column information defined in datasource.
*/
export interface Column {
advanced_data_type?: string;
id: number;
type?: string;
type_generic?: GenericDataType;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,9 @@ export default function transformProps(chartProps: CccsGridChartProps) {
// @ts-ignore
const name = column.column_name;
// @ts-ignore
columnMap[name] = ((column.advanced_data_type as string) ?? '').toUpperCase();
columnMap[name] = (
(column.advanced_data_type as string) ?? ''
).toUpperCase();
return columnMap;
}, columnAdvancedTypeMap);

Expand Down

0 comments on commit bc81cb4

Please sign in to comment.