source: trip-planner-front/node_modules/@babel/types/lib/utils/inherit.js@ 6a80231

Last change on this file since 6a80231 was 6a3a178, checked in by Ema <ema_spirova@…>, 3 years ago

initial commit

  • Property mode set to 100644
File size: 267 bytes
Line 
1"use strict";
2
3Object.defineProperty(exports, "__esModule", {
4 value: true
5});
6exports.default = inherit;
7
8function 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.