Skip to content

Commit bf9b50c

Browse files
Update equality_matcher.ts
1 parent d591140 commit bf9b50c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

packages/firestore/test/util/equality_matcher.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -62,8 +62,8 @@ function customDeepEqual(
6262
// compared with API types from Firestore classic. We do want to
6363
// differentiate between these types in our tests to ensure that the we do
6464
// not return firestore-exp types in the classic SDK.
65-
let leftObj = left as Record<string, unknown>;
66-
let rightObj = right as Record<string, unknown>;
65+
const leftObj = left as Record<string, unknown>;
66+
const rightObj = right as Record<string, unknown>;
6767
if (
6868
leftObj.constructor.name === rightObj.constructor.name &&
6969
leftObj.constructor !== rightObj.constructor

0 commit comments

Comments
 (0)