The 'this' context of type 'ZodAddon & WretchResponseChain<QueryStringAddon, ZodAddon, undefined>' is not assignable to method's 'this' of type 'QueryStringAddon & WretchResponseChain<QueryStringAddon, ZodAddon, undefined>'.
Property 'query' is missing in type 'ZodAddon & WretchResponseChain<QueryStringAddon, ZodAddon, undefined>' but required in type 'QueryStringAddon'.ts(2684)
If I remove the queryStringAddon the error goes away — I haven't been able to solve it, so was hoping you had an idea?
Hello!
Neat addon :-)
I'm trying to use it with other addons, but something is off with the types.
Reproduction:
If I remove the
queryStringAddon
the error goes away — I haven't been able to solve it, so was hoping you had an idea?