source: node_modules/redux-immutable/dist/utilities/validateNextState.js.map@ d24f17c

main
Last change on this file since d24f17c was d24f17c, checked in by Aleksandar Panovski <apano77@…>, 15 months ago

Initial commit

  • Property mode set to 100644
File size: 746 bytes
Line 
1{"version":3,"sources":["../../src/utilities/validateNextState.js"],"names":["nextState","reducerName","action","undefined","Error","type"],"mappings":";;;;;;kBAAe,UAACA,SAAD,EAAYC,WAAZ,EAAiCC,MAAjC,EAA0D;AACvE;AACA,MAAIF,cAAcG,SAAlB,EAA6B;AAC3B,UAAM,IAAIC,KAAJ,CAAU,cAAcH,WAAd,GAA4B,sCAA5B,GAAqEC,OAAOG,IAA5E,GAAmF,+EAA7F,CAAN;AACD;AACF,C","file":"validateNextState.js","sourcesContent":["export default (nextState, reducerName: string, action: Object): void => {\n // eslint-disable-next-line no-undefined\n if (nextState === undefined) {\n throw new Error('Reducer \"' + reducerName + '\" returned undefined when handling \"' + action.type + '\" action. To ignore an action, you must explicitly return the previous state.');\n }\n};\n"]}
Note: See TracBrowser for help on using the repository browser.