Skip to content

Commit

Permalink
fix(tooltip): position callback return type. close #15030
Browse files Browse the repository at this point in the history
  • Loading branch information
congjiujiu committed May 25, 2021
1 parent b53aa13 commit 9c28349
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/util/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1264,7 +1264,7 @@ export interface TooltipPositionCallback {
*/
viewSize: [number, number]
}
): number[] | string[] | TooltipBuiltinPosition | TooltipBoxLayoutOption
): Array<number | string> | TooltipBuiltinPosition | TooltipBoxLayoutOption
}
/**
* Common tooltip option
Expand Down

0 comments on commit 9c28349

Please sign in to comment.