We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d591140 commit bf9b50cCopy full SHA for bf9b50c
packages/firestore/test/util/equality_matcher.ts
@@ -62,8 +62,8 @@ function customDeepEqual(
62
// compared with API types from Firestore classic. We do want to
63
// differentiate between these types in our tests to ensure that the we do
64
// 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>;
+ const leftObj = left as Record<string, unknown>;
+ const rightObj = right as Record<string, unknown>;
67
if (
68
leftObj.constructor.name === rightObj.constructor.name &&
69
leftObj.constructor !== rightObj.constructor
0 commit comments