isPending Type '() => boolean' is not assignable to type 'boolean | null | undefined'.
kockok opened this issue · comments
Jason commented
I have a button disabled
prop that accepts only 'boolean | null | undefined'
whilst the latest version of this library returns isPending
with () => boolean
.
disabled={debouncedCallback.isPending}
So, how to fix it?