From ec9a4ccb1df4ef0721cc151f1d6327086bfe096e Mon Sep 17 00:00:00 2001 From: Marshall Polaris Date: Mon, 29 Aug 2022 21:51:08 -0700 Subject: [PATCH] Fix typing in common lib --- common/util/object.ts | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/common/util/object.ts b/common/util/object.ts index 5596286e..41d2cd70 100644 --- a/common/util/object.ts +++ b/common/util/object.ts @@ -1,6 +1,6 @@ import { union } from 'lodash' -export const removeUndefinedProps = (obj: T): T => { +export const removeUndefinedProps = (obj: T): T => { const newObj: any = {} for (const key of Object.keys(obj)) { @@ -37,4 +37,3 @@ export const subtractObjects = ( return newObj as T } -