Open
Description
This library clearly supports TypeScript, because I see types mentioned in the commit messages, eg.
fix(types): move types to optional peer dependencies
However, the word "type" doesn't even appear in your documentation or readme file. To be fair, types don't exactly require a ton of docs, but it'd be nice to at least mention how they're supposed to be used.
For instance:
// Error: Property 'foo' does not exist on type 'RenderHookResult<MyHook<object>, unknown>'.ts
const { foo } = renderHook(hook);
// Error: Expected 2-5 type arguments, but got 1.ts(2558)
const { foo } = renderHook<{ foo: any }>(hook);
So it seems renderHooks expects 2-5 type arguments ... surely you could spare a few lines in the docs to tell us what those arguments should be?