Skip to content

Commit 5b06e7e

Browse files
committed
fix: reverted back filter value changes
1 parent 48c787f commit 5b06e7e

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

dist/interfaces/filter.d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ export interface ComparisonFilter<Value> {
1212
readonly $search?: Value;
1313
}
1414
export declare type ItemFilter<I extends Item> = {
15-
readonly [P in keyof I]?: I[P] | ComparisonFilter<null | I[P]>;
15+
readonly [P in keyof I]?: I[P] | ComparisonFilter<I[P]>;
1616
};
1717
export interface LogicalFilter<I extends Item> {
1818
readonly $and?: Filter<I>[];

src/interfaces/Filter.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ export interface ComparisonFilter<Value> {
1414
}
1515

1616
export type ItemFilter<I extends Item> = {
17-
readonly [P in keyof I]?: I[P] | ComparisonFilter<null | I[P]>;
17+
readonly [P in keyof I]?: I[P] | ComparisonFilter<I[P]>;
1818
};
1919

2020
export interface LogicalFilter<I extends Item> {

0 commit comments

Comments
 (0)