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 2020/11/06 04:07:06 UTC

[incubator-echarts] branch bundle-dts updated: fix(types): fix type error in ts 3.9+ #13541

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

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


The following commit(s) were added to refs/heads/bundle-dts by this push:
     new c17c384  fix(types): fix type error in ts 3.9+ #13541
c17c384 is described below

commit c17c3846f1b627fc2082659f0f0be6d8bccb3c0a
Author: pissang <bm...@gmail.com>
AuthorDate: Fri Nov 6 12:06:33 2020 +0800

    fix(types): fix type error in ts 3.9+ #13541
---
 src/coord/polar/AxisModel.ts | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/coord/polar/AxisModel.ts b/src/coord/polar/AxisModel.ts
index d2acf4d..f630519 100644
--- a/src/coord/polar/AxisModel.ts
+++ b/src/coord/polar/AxisModel.ts
@@ -43,7 +43,7 @@ export interface AngleAxisOption extends AxisBaseOption {
     splitNumber?: number
 
     axisLabel?: Omit<AxisBaseOption['axisLabel'], 'rotate'> & {
-        rotate?: AxisBaseOption['axisLabel']['rotate'] | false
+        rotate?: AxisBaseOption['axisLabel']['rotate']
     }
 }
 
@@ -97,7 +97,7 @@ const angleAxisExtraOption: AngleAxisOption = {
     splitNumber: 12,
 
     axisLabel: {
-        rotate: false
+        rotate: 0
     }
 };
 


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