Closed alex35mil closed 8 years ago
When custom constructor type is used, it silently fails:
import { Map as $Map } from 'immutable'; export default function dummiesReducer( $state: $Map = $initialState, { type, entities, } : { type : string, entities: ?$Map, // <--- Object is passed here } ) { // silently fails here... }
Workaround:
import { Map as $Map } from 'immutable'; function({ entities } : { entities: void | $Map }) {}
@alexfedoseev this should now be fixed in 3.0.0
When custom constructor type is used, it silently fails: