chore: fix lint issues

This commit is contained in:
chenjiahan
2020-08-21 17:45:51 +08:00
parent 9754a80597
commit 58650aeb9b
9 changed files with 345 additions and 248 deletions
+1 -1
View File
@@ -1,6 +1,6 @@
import { deepAssign } from './deep-assign';
export function deepClone(obj: object): object {
export function deepClone(obj: Record<string, any>): Record<string, any> {
if (Array.isArray(obj)) {
return obj.map((item) => deepClone(item));
}