You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

1 lines
1.7 KiB

{"ast":null,"code":"import { wrapMapToPropsConstant, wrapMapToPropsFunc } from './wrapMapToProps';\nexport function whenMapStateToPropsIsFunction(mapStateToProps) {\n return typeof mapStateToProps === 'function' ? wrapMapToPropsFunc(mapStateToProps, 'mapStateToProps') : undefined;\n}\nexport function whenMapStateToPropsIsMissing(mapStateToProps) {\n return !mapStateToProps ? wrapMapToPropsConstant(function () {\n return {};\n }) : undefined;\n}\nexport default [whenMapStateToPropsIsFunction, whenMapStateToPropsIsMissing];","map":{"version":3,"names":["wrapMapToPropsConstant","wrapMapToPropsFunc","whenMapStateToPropsIsFunction","mapStateToProps","undefined","whenMapStateToPropsIsMissing"],"sources":["/Users/mahdi/Documents/work/programming/barnameNegar/arbaeenWebApp/node_modules/react-redux/es/connect/mapStateToProps.js"],"sourcesContent":["import { wrapMapToPropsConstant, wrapMapToPropsFunc } from './wrapMapToProps';\nexport function whenMapStateToPropsIsFunction(mapStateToProps) {\n return typeof mapStateToProps === 'function' ? wrapMapToPropsFunc(mapStateToProps, 'mapStateToProps') : undefined;\n}\nexport function whenMapStateToPropsIsMissing(mapStateToProps) {\n return !mapStateToProps ? wrapMapToPropsConstant(function () {\n return {};\n }) : undefined;\n}\nexport default [whenMapStateToPropsIsFunction, whenMapStateToPropsIsMissing];"],"mappings":"AAAA,SAASA,sBAAT,EAAiCC,kBAAjC,QAA2D,kBAA3D;AACA,OAAO,SAASC,6BAAT,CAAuCC,eAAvC,EAAwD;EAC7D,OAAO,OAAOA,eAAP,KAA2B,UAA3B,GAAwCF,kBAAkB,CAACE,eAAD,EAAkB,iBAAlB,CAA1D,GAAiGC,SAAxG;AACD;AACD,OAAO,SAASC,4BAAT,CAAsCF,eAAtC,EAAuD;EAC5D,OAAO,CAACA,eAAD,GAAmBH,sBAAsB,CAAC,YAAY;IAC3D,OAAO,EAAP;EACD,CAF+C,CAAzC,GAEFI,SAFL;AAGD;AACD,eAAe,CAACF,6BAAD,EAAgCG,4BAAhC,CAAf"},"metadata":{},"sourceType":"module"}