I was using Kubb to generate React Query hooks with Ky as client but, as is normal, Response.json() returns dates as strings instead of Date(), so I used a simple reviver to fix this one case using Response.text() with JSON.parse().
A more compreensive reviver could be useful
I was using Kubb to generate React Query hooks with Ky as client but, as is normal, Response.json() returns dates as strings instead of Date(), so I used a simple reviver to fix this one case using Response.text() with JSON.parse().
A more compreensive reviver could be useful