@tsmean/utils
Version:
A library of pure utility functions
14 lines (13 loc) • 377 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
var CoreUtils;
(function (CoreUtils) {
/**
* @deprecated
* Use the method in ImmutabilityUtils
*/
function deepCopy(data) {
return JSON.parse(JSON.stringify(data));
}
CoreUtils.deepCopy = deepCopy;
})(CoreUtils = exports.CoreUtils || (exports.CoreUtils = {}));