You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
As of now the scaffold does not provide flow support for the jest spec files of reselect selectors. The reason why we haven't added it in the first place was that the selector is typed with the global StateType of the application, and the tests only provide a subset of it since it would otherwise increase the maintainability of the tests into nowhere.
A possible solution would be to either add a } | Object to the global StateType declaration, but this solution would also lead to less feedback from flow in the real world usage.
The text was updated successfully, but these errors were encountered:
Describe the problem:
As of now the scaffold does not provide flow support for the jest spec files of reselect selectors. The reason why we haven't added it in the first place was that the selector is typed with the global
StateType
of the application, and the tests only provide a subset of it since it would otherwise increase the maintainability of the tests into nowhere.A possible solution would be to either add a
} | Object
to the globalStateType
declaration, but this solution would also lead to less feedback from flow in the real world usage.The text was updated successfully, but these errors were encountered: