Skip to content

Commit cb5af8b

Browse files
committed
update
1 parent 4881622 commit cb5af8b

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

packages/runtime/src/utils/clone.ts

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
1-
// @ts-expect-error
2-
import { isPlainObject } from 'is-plain-object';
1+
import { isPlainObject } from '@zenstackhq/common-helpers';
32

43
/**
54
* Clones the given object. Only arrays and plain objects are cloned. Other values are returned as is.
@@ -14,7 +13,6 @@ export function clone<T>(value: T): T {
1413
return value;
1514
}
1615

17-
1816
const result: any = {};
1917
for (const key of Object.keys(value)) {
2018
result[key] = clone(value[key as keyof T]);

0 commit comments

Comments
 (0)