ChartProps as the chart itself receives them, with every item callback already built.
withBuiltChartItems returns this, which is where the narrowing is earned rather than asserted:
its body converts each descriptor, and its signature is the proof the chart relies on.
ChartProps as the chart itself receives them, with every item callback already built.
withBuiltChartItemsreturns this, which is where the narrowing is earned rather than asserted: its body converts each descriptor, and its signature is the proof the chart relies on.