You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@echarts.apache.org by sh...@apache.org on 2021/07/01 03:19:39 UTC

[echarts] 05/07: fix(type): fix prop not optional in custom series

This is an automated email from the ASF dual-hosted git repository.

shenyi pushed a commit to branch improve-type
in repository https://gitbox.apache.org/repos/asf/echarts.git

commit ed53dd0e17bc0d1db93899e147a5f6b9ca0786bc
Author: pissang <bm...@gmail.com>
AuthorDate: Wed Jun 30 18:23:42 2021 +0800

    fix(type): fix prop not optional in custom series
---
 src/chart/custom/CustomSeries.ts | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/chart/custom/CustomSeries.ts b/src/chart/custom/CustomSeries.ts
index c9e4d7d..39a7e2f 100644
--- a/src/chart/custom/CustomSeries.ts
+++ b/src/chart/custom/CustomSeries.ts
@@ -191,7 +191,7 @@ export interface CustomGroupOption extends CustomBaseElementOption {
     // @deprecated
     diffChildrenByName?: boolean;
     children: CustomChildElementOption[];
-    $mergeChildren: false | 'byName' | 'byIndex';
+    $mergeChildren?: false | 'byName' | 'byIndex';
 }
 export interface CustomBaseZRPathOption<T extends PathProps['shape'] = PathProps['shape']>
     extends CustomDisplayableOption, ShapeMorphingOption {

---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@echarts.apache.org
For additional commands, e-mail: commits-help@echarts.apache.org