GoScrobble/web/node_modules/@material-ui/system/merge.js

22 lines
379 B
JavaScript
Raw Permalink Normal View History

2022-04-25 02:47:15 +00:00
"use strict";
Object.defineProperty(exports, "__esModule", {
value: true
});
exports.default = void 0;
var _utils = require("@material-ui/utils");
function merge(acc, item) {
if (!item) {
return acc;
}
return (0, _utils.deepmerge)(acc, item, {
clone: false // No need to clone deep, it's way faster.
});
}
var _default = merge;
exports.default = _default;