type A = typeof useFindPetsByStatusHookInfinite<
InfiniteData<FindPetsByStatus['response']>
>;
type B = ReturnType<A>;
type C = B['data'];
InfiniteData duplicates:
How often does this bug happen?
Every time
What is the expected behavior?
InfiniteData not duplicates
Swagger/OpenAPI file?
In sandbox
Additional information
I think problem with UseInfiniteQueryResult and TData = InfiniteData<FindPetsByStatus['response']>. Using both duplicates InfiniteData
try without InfiniteData:
type A = typeof useFindPetsByStatusHookInfinite<FindPetsByStatus['response']>;
type B = ReturnType<A>;
type C = B['data'];
What version of
kubb
is running?No response
What platform is your computer?
No response
What version of external packages are you using(
@tanstack-query
,MSW
,React
,Vue
, ...)No response
What steps can reproduce the bug?
InfiniteData duplicates:
How often does this bug happen?
Every time
What is the expected behavior?
InfiniteData not duplicates
Swagger/OpenAPI file?
In sandbox
Additional information
I think problem with UseInfiniteQueryResult and TData = InfiniteData<FindPetsByStatus['response']>. Using both duplicates InfiniteData try without InfiniteData:
Working fine!
KUB-22