14 lines
306 B
JavaScript
14 lines
306 B
JavaScript
'use strict';
|
|
|
|
"use strict";
|
|
function assignWithIgnore(target, options, ignore = {}) {
|
|
for (const key in options) {
|
|
if (!ignore[key] && options[key] !== void 0) {
|
|
target[key] = options[key];
|
|
}
|
|
}
|
|
}
|
|
|
|
exports.assignWithIgnore = assignWithIgnore;
|
|
//# sourceMappingURL=assignWithIgnore.js.map
|