diff --git a/src/common/set-fields.ts b/src/common/set-fields.ts index 5d3cf008..c820bbdd 100755 --- a/src/common/set-fields.ts +++ b/src/common/set-fields.ts @@ -2,7 +2,7 @@ import _set from 'lodash/set.js'; export function setFields>( items: T | T[], - fieldValue: any | (() => any), + fieldValue: any, fieldNames: string[], defaultFieldName: string ): void {