Skip to content
This repository was archived by the owner on Dec 14, 2020. It is now read-only.

Commit 6b9338c

Browse files
committed
ci(tslint): Fixes linting error.
1 parent 1a2ce0d commit 6b9338c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/utils/pickDefined.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
1-
import { pickBy } from 'lodash';
1+
import { isUndefined, pickBy } from 'lodash';
22

33
export function pickDefined<V extends object>(obj: V) {
44
return pickBy(obj, function (value) {
5-
return value !== undefined;
5+
return !isUndefined(value);
66
});
77
}

0 commit comments

Comments
 (0)