mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
Refactor queries to use non-null assert
This commit is contained in:
parent
3df39d659c
commit
2ce9e9f1e0
28 changed files with 47 additions and 127 deletions
|
|
@ -33,7 +33,6 @@ export function includesAny(list: string | string[] | null | undefined, search:
|
|||
|
||||
search = search.filter(i => i);
|
||||
|
||||
/* eslint-disable-next-line @typescript-eslint/no-non-null-assertion */
|
||||
if (search.some(s => list!.includes(s))) {
|
||||
return !inverseMatch;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue