chore: fix type
This commit is contained in:
parent
0948db624f
commit
ba1a1fc041
1 changed files with 1 additions and 1 deletions
|
@ -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…
Reference in a new issue