diff --git a/src/components/field/index.tsx b/src/components/field/index.tsx index 0687e9a06..e8bdb0de8 100644 --- a/src/components/field/index.tsx +++ b/src/components/field/index.tsx @@ -6,6 +6,7 @@ import {DragElementWrapper, DragSource, DragSourceCollector, DragSourceSpec} fro import * as TetherComponent from 'react-tether'; import {OneOfFilter, RangeFilter} from 'vega-lite/build/src/filter'; import {FilterAction} from '../../actions'; +import {CustomWildcardAction} from '../../actions/custom-wildcard-field'; import {DatasetSchemaChangeFieldType} from '../../actions/dataset'; import {ShelfAction} from '../../actions/shelf'; import {FILTER_TOGGLE} from '../../actions/shelf/filter'; @@ -48,7 +49,8 @@ export interface FieldPropsBase { /** Remove field event handler. If not provided, remove button will disappear. */ onRemove?: () => void; - handleAction?: (action: FilterAction | ShelfAction | DatasetSchemaChangeFieldType) => void; + handleAction?: (action: CustomWildcardAction | FilterAction | + ShelfAction | DatasetSchemaChangeFieldType) => void; /** * If filter button is shown, we need to provide filters to check duplicated filters.