Problemunvalidated
since `UserResponseDto[]` does not extend `UserResponseDto` — export const useAllUsers = ( select?: (data: UserResponseDto[]) => T ) => useQuery({. Tension: so in no case could that be `UserResponseDto[]`. Outcome: you could do ``, to allow `select` to return any type.
338b3f90-489e-4a51-a9e9-5269e2cb378f
since UserResponseDto[] does not extend UserResponseDto — export const useAllUsers = (
select?: (data: UserResponseDto[]) => T
) =>
useQuery({. Tension: so in no case could that be UserResponseDto[]. Outcome: you could do ``, to allow select to return any type.