Skip to content

Commit 438e0c3

Browse files
Lint
1 parent 861e13a commit 438e0c3

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

packages/firestore/src/model/target_index_matcher.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -144,7 +144,7 @@ export class TargetIndexMatcher {
144144
// If we already have processed all segments, all segments are used to serve
145145
// the equality filters and we do not need to map any segments to the
146146
// target's inequality and orderBy clauses.
147-
if (segmentIndex == segments.length) {
147+
if (segmentIndex === segments.length) {
148148
return true;
149149
}
150150

@@ -193,8 +193,8 @@ export class TargetIndexMatcher {
193193
return false;
194194
}
195195
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;
198198
return (segment.kind === IndexKind.CONTAINS) === isArrayOperator;
199199
}
200200

0 commit comments

Comments
 (0)