react-async-hook icon indicating copy to clipboard operation
react-async-hook copied to clipboard

Use union for AsyncState type

Open adipascu opened this issue 3 years ago • 0 comments

This also removes the merge property and probably breaks this functionality

This is more of an idea than anything else, feel free to close this PR.

I'd like more guarantees over the type we are using to simplify the end TS code that uses this library.

adipascu avatar Mar 27 '22 20:03 adipascu