swc/packages/helpers/esm/_inherits_loose.js

7 lines
237 B
JavaScript

export function _inherits_loose(subClass, superClass) {
subClass.prototype = Object.create(superClass.prototype);
subClass.prototype.constructor = subClass;
subClass.__proto__ = superClass;
}
export { _inherits_loose as _ };