UNPKG

babel-core

Version:

Turn ES6 code into readable vanilla ES5 with source maps

17 lines (12 loc) 449 B
"use strict"; var _interopRequireWildcard = function (obj) { return obj && obj.__esModule ? obj : { "default": obj }; }; var util = _interopRequireWildcard(require("../../util")); module.exports = function (Parent) { var Constructor = function Constructor() { this.noInteropRequireImport = true; this.noInteropRequireExport = true; Parent.apply(this, arguments); }; util.inherits(Constructor, Parent); return Constructor; };