mirror of
https://github.com/apache/superset.git
synced 2024-09-19 12:09:42 -04:00
fix: wrong type for filters field (#183)
This commit is contained in:
parent
34e2e621e9
commit
3d6d622b18
@ -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 {
|
||||
@ -54,7 +54,7 @@ export default class ChartProps {
|
||||
const {
|
||||
annotationData = {},
|
||||
datasource = {},
|
||||
filters = [],
|
||||
filters = {},
|
||||
formData = {},
|
||||
hooks = {},
|
||||
onAddFilter = NOOP,
|
||||
|
Loading…
Reference in New Issue
Block a user