What problem does this feature solve?
When using in TypeScript projects, series[pie].label.margin gets the following error:
Type '{ position: "outer"; alignTo: "edge"; bleedMargin: number; margin: number; }' is not assignable to type 'PieLabelOption'.
Object literal may only specify known properties, and 'margin' does not exist in type 'PieLabelOption'.ts(2322)
But this option takes effect, so just a problem of typing.
What is expected?
No type error.
What problem does this feature solve?
When using in TypeScript projects,
series[pie].label.margingets the following error:But this option takes effect, so just a problem of typing.
What is expected?
No type error.