This repository has been archived on 2024-07-27. You can view files and clone it, but cannot push or open issues or pull requests.
keksAccountGUI/node_modulesOLD/@babel/types/lib/utils/inherit.js

24 lines
513 B
JavaScript

"use strict";
Object.defineProperty(exports, "__esModule", {
value: true
});
exports.default = inherit;
function _uniq() {
const data = _interopRequireDefault(require("lodash/uniq"));
_uniq = function () {
return data;
};
return data;
}
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
function inherit(key, child, parent) {
if (child && parent) {
child[key] = (0, _uniq().default)([].concat(child[key], parent[key]).filter(Boolean));
}
}