File tree Expand file tree Collapse file tree 2 files changed +5
-1
lines changed Expand file tree Collapse file tree 2 files changed +5
-1
lines changed Original file line number Diff line number Diff line change @@ -238,6 +238,8 @@ export function targetGetArrayValues(
238
238
return fieldFilter . value . arrayValue ! . values || [ ] ;
239
239
case Operator . ARRAY_CONTAINS :
240
240
return [ fieldFilter . value ] ;
241
+ default :
242
+ // Remaining filters are not array filters.
241
243
}
242
244
}
243
245
return null ;
@@ -271,6 +273,8 @@ export function targetGetNotInValues(
271
273
// NotIn/NotEqual is always a suffix
272
274
values . push ( fieldFilter . value ) ;
273
275
return values ;
276
+ default :
277
+ // Remaining filters cannot be used as notIn bounds.
274
278
}
275
279
}
276
280
}
Original file line number Diff line number Diff line change @@ -376,7 +376,7 @@ describe('Target Bounds', () => {
376
376
bound : Bound | null ,
377
377
inclusive : boolean ,
378
378
...values : unknown [ ]
379
- ) {
379
+ ) : void {
380
380
expect ( bound ) . to . not . be . null ;
381
381
expect ( ! bound ! . before ) . to . equal ( inclusive , 'inclusive' ) ;
382
382
const position = bound ! . position ;
You can’t perform that action at this time.
0 commit comments