Skip to content

Commit 326d1b6

Browse files
ignoreintuitionDerekNonGeneric
authored andcommitted
bug fix on boolean
1 parent 3731cf7 commit 326d1b6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -135,7 +135,7 @@ export const deepMerge = (
135135
export const objectsEqualShallow = (
136136
o1: Record<string, number | RegExp> | null | undefined,
137137
o2: Record<string, number | RegExp> | null | undefined
138-
): boolean {
138+
): boolean => {
139139
if (o1 == undefined || o2 == undefined) {
140140
// Null is only equal to null, and undefined to undefined.
141141
return o1 === o2;

0 commit comments

Comments
 (0)