superset-frontend/packages/superset-ui-core/src/chart/models/ChartProps.ts
Function create
has 63 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
ChartProps.createSelector = function create(): ChartPropsSelector {
return createSelector(
(input: ChartPropsConfig) => input.annotationData,
input => input.datasource,
input => input.formData,
Function constructor
has 42 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
constructor(config: ChartPropsConfig & { formData?: FormData } = {}) {
const {
annotationData = {},
datasource = {},
formData = {} as FormData,