Closed smaven closed 4 months ago
Hey @smaven thanks for letting me know! I suppose [TInput] extends [undefined] | [void]
could be re-written as [TInput] extends [undefined | void]
. Other than that, I would be happy to merge this PR if you were to raise one.
I have the following procedure:
Trying to get the query key gives me the following type error:
Seems like the
type GetQueryKey
is not accounting for thevoid
typeThis can be fixed by modifying the type as:
If it looks good, I'll be happy to create a PR for this fix.
P.S. Great work on this package! 🙌