File tree Expand file tree Collapse file tree 1 file changed +2
-3
lines changed Expand file tree Collapse file tree 1 file changed +2
-3
lines changed Original file line number Diff line number Diff line change @@ -166,16 +166,15 @@ type ContainsCaseInsensitiveWhereOperator = { $containsi: string };
166
166
type NotContainsCaseInsensitiveWhereOperator = { $notContainsi : string } ;
167
167
type StartsWithWhereOperator = { $startsWith : string } ;
168
168
type EndsWithWhereOperator = { $endsWith : string } ;
169
- type EndsWithWhereOperator = { $endsWith : string } ;
170
169
type IsNullWhereOperator = { $null : boolean } ;
171
170
type IsNotNullWhereOperator = { $notNull : boolean } ;
172
171
type NotWhereOperator < TKey extends string , TValue > = {
173
172
$not : {
174
173
[ TKey ] : [ TValue ] ;
175
174
} ;
176
175
} ;
177
- type AndWhereOperator < T > = { $and : T [ ] } ;
178
- type OrWhereOperator < T > = { $or : T [ ] } ;
176
+ type AndWhereOperator < T > = { $and : Partial < T > [ ] } ;
177
+ type OrWhereOperator < T > = { $or : Partial < T > [ ] } ;
179
178
180
179
type WhereOperator < T = unknown > =
181
180
| T
You can’t perform that action at this time.
0 commit comments