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/06/18 11:06:21 UTC

[echarts] 02/03: fix unexpected inner import from exports

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

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

commit 8ece4d4374f9e01bd2d30edda3bd5255def4a65d
Author: pissang <bm...@gmail.com>
AuthorDate: Fri Jun 18 14:15:00 2021 +0800

    fix unexpected inner import from exports
---
 src/chart/custom/CustomView.ts | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/src/chart/custom/CustomView.ts b/src/chart/custom/CustomView.ts
index b264d80..961a9ec 100644
--- a/src/chart/custom/CustomView.ts
+++ b/src/chart/custom/CustomView.ts
@@ -100,7 +100,6 @@ import {
     prepareTransformAllPropsFinal,
     prepareTransformTransitionFrom
 } from './prepare';
-import { SeriesModel } from '../../export/api';
 
 const transformPropNamesStr = keys(TRANSFORM_PROPS).join(', ');
 
@@ -1269,7 +1268,7 @@ function doCreateOrUpdateEl(
 }
 
 // `el` must not be null/undefined.
-function doesElNeedRecreate(el: Element, elOption: CustomElementOption, seriesModel: SeriesModel): boolean {
+function doesElNeedRecreate(el: Element, elOption: CustomElementOption, seriesModel: CustomSeriesModel): boolean {
     const elInner = customInnerStore(el);
     const elOptionType = elOption.type;
     const elOptionShape = (elOption as CustomZRPathOption).shape;

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