Skip to content

Commit

Permalink
update build error
Browse files Browse the repository at this point in the history
  • Loading branch information
vitPinchuk committed Sep 17, 2024
1 parent a0549cc commit 1703ec2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -100,8 +100,8 @@ export const getAllItemKeyConfigs = (items: DataItem[]): Record<string, KeyConfi
/**
* If the “meta” key has not yet been added to the resulting object
*/
if (property && !result[property]) {
result[property] = {
if (property && !result[property as string]) {
result[property as string] = {
keyAccessor: 'meta.@_property',
valueAccessor: 'meta.@_content',
};
Expand Down

0 comments on commit 1703ec2

Please sign in to comment.