14 lines
304 B
Plaintext
14 lines
304 B
Plaintext
"use strict";
|
|
|
|
Object.defineProperty(exports, "__esModule", {
|
|
value: true
|
|
});
|
|
exports.default = inherit;
|
|
function inherit(key, child, parent) {
|
|
if (child && parent) {
|
|
child[key] = Array.from(new Set([].concat(child[key], parent[key]).filter(Boolean)));
|
|
}
|
|
}
|
|
|
|
//# sourceMappingURL=inherit.js.map
|