source:
trip-planner-front/node_modules/@babel/types/lib/utils/inherit.js
Last change on this file was 6a3a178, checked in by , 3 years ago | |
---|---|
|
|
File size: 267 bytes |
Line | |
---|---|
1 | "use strict"; |
2 | |
3 | Object.defineProperty(exports, "__esModule", { |
4 | value: true |
5 | }); |
6 | exports.default = inherit; |
7 | |
8 | function inherit(key, child, parent) { |
9 | if (child && parent) { |
10 | child[key] = Array.from(new Set([].concat(child[key], parent[key]).filter(Boolean))); |
11 | } |
12 | } |
Note:
See TracBrowser
for help on using the repository browser.