Skip to content

Commit

Permalink
fix: wrong type for filters field (apache#183)
Browse files Browse the repository at this point in the history
  • Loading branch information
kristw authored and zhaoyongjie committed Nov 17, 2021
1 parent a04675e commit eaa3d73
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ type SnakeCaseDatasource = PlainObject;
type CamelCaseFormData = PlainObject;
type SnakeCaseFormData = PlainObject;
export type QueryData = PlainObject;
type Filters = any[];
type Filters = PlainObject;
type ChartPropsSelector = (c: ChartPropsConfig) => ChartProps;

export interface ChartPropsConfig {
Expand Down Expand Up @@ -54,7 +54,7 @@ export default class ChartProps {
const {
annotationData = {},
datasource = {},
filters = [],
filters = {},
formData = {},
hooks = {},
onAddFilter = NOOP,
Expand Down

0 comments on commit eaa3d73

Please sign in to comment.