UNPKG

6to5-core

Version:

Turn ES6 code into readable vanilla ES5 with source maps

15 lines (10 loc) 260 B
"use strict"; var util = require("../../util"); module.exports = function (Parent) { var Constructor = function () { this.noInteropRequire = true; Parent.apply(this, arguments); }; util.inherits(Constructor, Parent); return Constructor; };