Fix call.

This commit is contained in:
trading_peter 2022-04-18 23:08:45 +02:00
parent 89d66f019f
commit 3a552c5de9
2 changed files with 2 additions and 2 deletions

View File

@ -44,7 +44,7 @@ export const clone = (obj, seen) => {
if (descriptor && (descriptor.get || descriptor.set)) { if (descriptor && (descriptor.get || descriptor.set)) {
Object.defineProperty(newObj, key, descriptor); Object.defineProperty(newObj, key, descriptor);
} else { } else {
newObj[key] = this._clone(obj[key], seen); newObj[key] = clone(obj[key], seen);
} }
} }
} }

View File

@ -1,6 +1,6 @@
{ {
"name": "@tp/helpers", "name": "@tp/helpers",
"version": "1.1.0", "version": "1.1.1",
"description": "", "description": "",
"main": "closest.js", "main": "closest.js",
"scripts": { "scripts": {