Fix call.
This commit is contained in:
parent
89d66f019f
commit
3a552c5de9
2
clone.js
2
clone.js
@ -44,7 +44,7 @@ export const clone = (obj, seen) => {
|
||||
if (descriptor && (descriptor.get || descriptor.set)) {
|
||||
Object.defineProperty(newObj, key, descriptor);
|
||||
} else {
|
||||
newObj[key] = this._clone(obj[key], seen);
|
||||
newObj[key] = clone(obj[key], seen);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@tp/helpers",
|
||||
"version": "1.1.0",
|
||||
"version": "1.1.1",
|
||||
"description": "",
|
||||
"main": "closest.js",
|
||||
"scripts": {
|
||||
|
Loading…
Reference in New Issue
Block a user