mirror of
https://github.com/Sevichecc/Urara-Blog.git
synced 2025-05-05 00:59:29 +08:00
12 lines
No EOL
267 B
Text
12 lines
No EOL
267 B
Text
"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)));
|
|
}
|
|
} |