Type 'undefined[]' is not assignable to type 'number'.ts(2322) apexcharts.d.ts(859, 5): The expected type comes from property 'size' which is declared here on type '{ size?: number; strokeWidth?: number; fillColors?: string[]; shape?: ApexMarkerShape; offsetX?: number; offsetY?: number; customHTML?(): any; onClick?(): void; }' (property) size?: number
getting an error like when passing array to the legends.marker.size