I want to do some set state operations in `onSuccess` fn, and then convert the data structure in `select` fn, but unable to infer the correct type. [https://codesandbox.io/s/stupefied-andras-otxpp?file=/src/App.tsx](https://codesandbox.io/s/stupefied-andras-otxpp?file=/src/App.tsx)