interopRequireWildcard.js 316 B

12345678910111213141516
  1. export default (function (obj) {
  2. if (obj && obj.__esModule) {
  3. return obj;
  4. } else {
  5. var newObj = {};
  6. if (obj != null) {
  7. for (var key in obj) {
  8. if (Object.prototype.hasOwnProperty.call(obj, key)) newObj[key] = obj[key];
  9. }
  10. }
  11. newObj.default = obj;
  12. return newObj;
  13. }
  14. });