chore: fix type
This commit is contained in:
parent
0948db624f
commit
ba1a1fc041
@ -15,7 +15,7 @@ export function isNil(value: any) {
|
||||
return value == null
|
||||
}
|
||||
|
||||
export function omitBy(obj: {}, check: (value: any) => Boolean): {} {
|
||||
export function omitBy(obj: {}, check: (value: any) => boolean): {} {
|
||||
if (isNil(obj)) {
|
||||
return {}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user