File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
packages/firestore/src/model Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -144,7 +144,7 @@ export class TargetIndexMatcher {
144
144
// If we already have processed all segments, all segments are used to serve
145
145
// the equality filters and we do not need to map any segments to the
146
146
// target's inequality and orderBy clauses.
147
- if ( segmentIndex == segments . length ) {
147
+ if ( segmentIndex === segments . length ) {
148
148
return true ;
149
149
}
150
150
@@ -193,8 +193,8 @@ export class TargetIndexMatcher {
193
193
return false ;
194
194
}
195
195
const isArrayOperator =
196
- filter . op == Operator . ARRAY_CONTAINS ||
197
- filter . op == Operator . ARRAY_CONTAINS_ANY ;
196
+ filter . op === Operator . ARRAY_CONTAINS ||
197
+ filter . op === Operator . ARRAY_CONTAINS_ANY ;
198
198
return ( segment . kind === IndexKind . CONTAINS ) === isArrayOperator ;
199
199
}
200
200
You can’t perform that action at this time.
0 commit comments