Skip to content

Commit

Permalink
fix: reverted back filter value changes
Browse files Browse the repository at this point in the history
  • Loading branch information
lemon-mario committed Mar 29, 2019
1 parent 48c787f commit 5b06e7e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion dist/interfaces/filter.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ export interface ComparisonFilter<Value> {
readonly $search?: Value;
}
export declare type ItemFilter<I extends Item> = {
readonly [P in keyof I]?: I[P] | ComparisonFilter<null | I[P]>;
readonly [P in keyof I]?: I[P] | ComparisonFilter<I[P]>;
};
export interface LogicalFilter<I extends Item> {
readonly $and?: Filter<I>[];
Expand Down
2 changes: 1 addition & 1 deletion src/interfaces/Filter.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ export interface ComparisonFilter<Value> {
}

export type ItemFilter<I extends Item> = {
readonly [P in keyof I]?: I[P] | ComparisonFilter<null | I[P]>;
readonly [P in keyof I]?: I[P] | ComparisonFilter<I[P]>;
};

export interface LogicalFilter<I extends Item> {
Expand Down

0 comments on commit 5b06e7e

Please sign in to comment.