granular-hooks icon indicating copy to clipboard operation
granular-hooks copied to clipboard

useGranularMemo return T instead of unknown

Open fmanseau opened this issue 2 years ago • 0 comments

Cast the return type of useGranularMemo to T instead of defaulting to unknown. Right now, anyone using the hook in strict mode needs to do the casting for every use.

fmanseau avatar Jul 11 '23 17:07 fmanseau