diff --git a/src/ai-assistant/src/tools/utils.ts b/src/ai-assistant/src/tools/utils.ts index 91119a3019..e57905a8c7 100644 --- a/src/ai-assistant/src/tools/utils.ts +++ b/src/ai-assistant/src/tools/utils.ts @@ -312,8 +312,8 @@ export function highlightRowsByColumnValues( acc[value] = index; return acc; }, {}); - // @ts-expect-error need to fix the type error of value here - const selectedIndices = selectedValues.map(value => valueDict[value]); + // need to fix the type error of value here + const selectedIndices = selectedValues.map(value => valueDict[value as any]); // highlight the rows highlightRows(datasets, layers, datasetName, selectedIndices, layerSetIsValid); } diff --git a/src/duckdb/src/table/duckdb-table-utils.ts b/src/duckdb/src/table/duckdb-table-utils.ts index e064ed0c2a..aa6a112261 100644 --- a/src/duckdb/src/table/duckdb-table-utils.ts +++ b/src/duckdb/src/table/duckdb-table-utils.ts @@ -1,3 +1,6 @@ +// SPDX-License-Identifier: MIT +// Copyright contributors to the kepler.gl project + // loaders.gl // SPDX-License-Identifier: MIT // Copyright (c) vis.gl contributors