Skip to content
This repository was archived by the owner on Jun 22, 2021. It is now read-only.

Commit ddabbd5

Browse files
committed
fix: Fixes filter.
1 parent 9dec0cb commit ddabbd5

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

src/types/Filter.ts

+1-4
Original file line numberDiff line numberDiff line change
@@ -22,9 +22,6 @@ export interface ConditionFilter<E extends Entity> {
2222
readonly $nor?: Filter<E>[];
2323
}
2424

25-
export type Filter<E extends Entity> = (
26-
EntityFilter<E> &
27-
ConditionFilter<E>
28-
);
25+
export type Filter<E extends Entity> = EntityFilter<E> | ConditionFilter<E>;
2926

3027
export default Filter;

0 commit comments

Comments
 (0)