Skip to content

Commit 03ba6fc

Browse files
committed
fix
1 parent c6b8796 commit 03ba6fc

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/utils/utils.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,9 @@ const isObject = (val: any): boolean => {
2121
!Array.isArray(val) &&
2222
!(val instanceof String) &&
2323
!(val instanceof Number) &&
24-
!(val instanceof Boolean)
24+
!(val instanceof Boolean) &&
25+
!(val instanceof Date) &&
26+
!(val instanceof File)
2527
);
2628
};
2729

0 commit comments

Comments
 (0)