Skip to content

Commit f316317

Browse files
committed
Remove true alias to increase readability
1 parent f0498ad commit f316317

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

index.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,7 @@ interface Options {
88
cyclesFix: boolean;
99
}
1010

11-
const t = true;
12-
const richTypes = { Date: t, RegExp: t, String: t, Number: t };
11+
const richTypes = { Date: true, RegExp: true, String: true, Number: true };
1312

1413
export default function diff(
1514
obj: Record<string, any> | any[],

0 commit comments

Comments
 (0)