a7e00d2d286f614e419551054d73e484.json 1.7 KB

1
  1. {"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,"sources":["/home/ilya/projects/NIX/temp/react/store/node_modules/react-redux/es/connect/mapStateToProps.js"],"names":["wrapMapToPropsConstant","wrapMapToPropsFunc","whenMapStateToPropsIsFunction","mapStateToProps","undefined","whenMapStateToPropsIsMissing"],"mappings":"AAAA,SAASA,sBAAT,EAAiCC,kBAAjC,QAA2D,kBAA3D;AACA,OAAO,SAASC,6BAAT,CAAuCC,eAAvC,EAAwD;AAC7D,SAAO,OAAOA,eAAP,KAA2B,UAA3B,GAAwCF,kBAAkB,CAACE,eAAD,EAAkB,iBAAlB,CAA1D,GAAiGC,SAAxG;AACD;AACD,OAAO,SAASC,4BAAT,CAAsCF,eAAtC,EAAuD;AAC5D,SAAO,CAACA,eAAD,GAAmBH,sBAAsB,CAAC,YAAY;AAC3D,WAAO,EAAP;AACD,GAF+C,CAAzC,GAEFI,SAFL;AAGD;AACD,eAAe,CAACF,6BAAD,EAAgCG,4BAAhC,CAAf","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];"]},"metadata":{},"sourceType":"module"}