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/05/26 02:59:32 UTC

[echarts] branch master updated: fix(tooltip): position callback return type. close #15030

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

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


The following commit(s) were added to refs/heads/master by this push:
     new 9c28349  fix(tooltip): position callback return type. close #15030
     new c695011  Merge pull request #15031 from congjiujiu/fix/tooltip-position-callback-type
9c28349 is described below

commit 9c28349bac95dd8c3f756508601fe30bae5d65d8
Author: congyang.99 <co...@bytedance.com>
AuthorDate: Tue May 25 19:38:00 2021 +0800

    fix(tooltip): position callback return type. close #15030
---
 src/util/types.ts | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/util/types.ts b/src/util/types.ts
index 00d3b82..1d11e52 100644
--- a/src/util/types.ts
+++ b/src/util/types.ts
@@ -1264,7 +1264,7 @@ export interface TooltipPositionCallback {
              */
             viewSize: [number, number]
         }
-    ): number[] | string[] | TooltipBuiltinPosition | TooltipBoxLayoutOption
+    ): Array<number | string> | TooltipBuiltinPosition | TooltipBoxLayoutOption
 }
 /**
  * Common tooltip option

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