Last change
on this file since fa375fe 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 |
|
---|
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.