diff --git a/src/chart/pie/PieSeries.ts b/src/chart/pie/PieSeries.ts index d9ecd98c2b..997e0b36cc 100644 --- a/src/chart/pie/PieSeries.ts +++ b/src/chart/pie/PieSeries.ts @@ -62,6 +62,10 @@ interface PieLabelOption extends Omit rotate?: number alignTo?: 'none' | 'labelLine' | 'edge' edgeDistance?: string | number + /** + * @deprecated Use `edgeDistance` instead + */ + margin?: string | number bleedMargin?: number distanceToLabelLine?: number diff --git a/tsconfig.json b/tsconfig.json index 5c9fc9b2a2..e44ef3ac08 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -5,7 +5,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictBindCallApply": true, - "removeComments": true, + "removeComments": false, "sourceMap": true, // https://github.com/ezolenko/rollup-plugin-typescript2/issues/12#issuecomment-536173372