|
@@ -326,7 +326,7 @@ export function getValidOps(
|
|
|
|
|
|
// Determine any interchangeable filter types for our valid types
|
|
|
const interchangeableTypes = validTypes.map(
|
|
|
- // @ts-ignore TS(7053): Element implicitly has an 'any' type because expre... Remove this comment to see the full error message
|
|
|
+ // @ts-expect-error TS(7053): Element implicitly has an 'any' type because expre... Remove this comment to see the full error message
|
|
|
type => interchangeableFilterOperators[type] ?? []
|
|
|
);
|
|
|
|
|
@@ -335,7 +335,7 @@ export function getValidOps(
|
|
|
|
|
|
// Find all valid operations
|
|
|
const validOps = new Set<TermOperator>(
|
|
|
- // @ts-ignore TS(7053): Element implicitly has an 'any' type because expre... Remove this comment to see the full error message
|
|
|
+ // @ts-expect-error TS(7053): Element implicitly has an 'any' type because expre... Remove this comment to see the full error message
|
|
|
allValidTypes.flatMap(type => filterTypeConfig[type].validOps)
|
|
|
);
|
|
|
|