UNPKG

@babel/types

Version:

Babel Types is a Lodash-esque utility library for AST nodes

14 lines (11 loc) 304 B
"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