prescottprue / react-redux-firebase

Redux bindings for Firebase. Includes React Hooks and Higher Order Components.
https://react-redux-firebase.com
MIT License
2.55k stars 558 forks source link

Inconsistent Typescript typing #1082

Open juan-carvajal opened 3 years ago

juan-carvajal commented 3 years ago

Hi, It seems the object returned in this line is not consistent with the typescript type that is used to describe it because the object is being wrapped inside another object with a prop called user.

https://github.com/prescottprue/react-redux-firebase/blob/4c780375d82ad7ebee436b7d7ebc5a15e3b794fc/src/actions/auth.js#L551

danielo515 commented 3 years ago

Not sure if it is a good idea to mention it here or create a new issue, but anyway, the key childParam is not understood by TS for the populates feature.