diff --git a/src/types.ts b/src/types.ts index 0c7f973..6189516 100644 --- a/src/types.ts +++ b/src/types.ts @@ -775,13 +775,7 @@ export type SelectorOperator = export type LogicalOperator = "$or" | "$and"; export type SelectorFilter = { - [K in PathsForFilter]?: - | PathType - | { - [P in SelectorOperator]?: P extends "$contains" - ? PathType | PathType[] - : PathType; - }; + [K in PathsForFilter]?: PathType | { [P in SelectorOperator]?: PathType }; }; export type LogicalFilter = {