Closed
Description
I started using beta14 with TypeScript and I am running into a few problems:
withFirebase
is not exported, or so the compiler tells me.ReduxFirebaseConfig
passed to reactReduxFirebase need all of the properties set. None of them are optional. I think all should be optional?firebaseReducer
is not exported, or so the compiler tells me. I still have to usefirebaseStateReducer
instead.reactReduxFirebase
returns an object, which is not compatible withcompose
.
Also if I connect my component like this
export default compose(
firebaseConnect(),
connect(({ firebase: { auth } }) => ({ auth }))
)(LoginPage);
The compiler will tell me JSX element type 'LoginPage' does not have any construct or call signatures
. In the stable version I could use withFirebase instead of firebaseConnect and the the compiler wouldn't complain.