Experimental filters: fix wrong type (#3856)

This commit is contained in:
Krzysztof Żuraw 2023-07-05 08:59:24 +02:00 committed by GitHub
parent b0214c6454
commit 8d425700eb
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -9,7 +9,7 @@ import {
getLeftOperatorOptions, getLeftOperatorOptions,
getRightOperatorOptionsByQuery, getRightOperatorOptionsByQuery,
} from "./API/getAPIOptions"; } from "./API/getAPIOptions";
import { ConditionOption } from "./FilterElement/ConditionSelected"; import { ConditionValue } from "./FilterElement/ConditionSelected";
import { useFilterContainer } from "./useFilterContainer"; import { useFilterContainer } from "./useFilterContainer";
import { useLeftOperands } from "./useLeftOperands"; import { useLeftOperands } from "./useLeftOperands";
import { useUrlValueProvider } from "./ValueProvider/useUrlValueProvider"; import { useUrlValueProvider } from "./ValueProvider/useUrlValueProvider";
@ -58,7 +58,7 @@ type FilterEvent =
| { | {
type: "rightOperator.onChange"; type: "rightOperator.onChange";
path: string; path: string;
value: ConditionOption; value: ConditionValue;
} }
| { | {
type: "rightOperator.onFocus"; type: "rightOperator.onFocus";