Skip to content

Commit f938034

Browse files
Add TODO comment for replacing lodash functions in object.ts
1 parent 0bc5b97 commit f938034

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

common/src/util/object.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
// TODO: Replace lodash functions isEqual, mapValues, union with native JS equivalents (e.g., use JSON.stringify(a) === JSON.stringify(b) for deep equality, Object.fromEntries(Object.entries(obj).map(([k,v]) => v)) to map values, and Array.from(new Set([...arr1,...arr2])) for union).
12
import { isEqual, mapValues, union } from 'lodash'
23

34
export const removeUndefinedProps = <T extends object>(

0 commit comments

Comments
 (0)