Skip to content

Commit

Permalink
Merge pull request #15031 from congjiujiu/fix/tooltip-position-callba…
Browse files Browse the repository at this point in the history
…ck-type

fix(tooltip): position callback return type. close #15030
  • Loading branch information
pissang authored May 26, 2021
2 parents b53aa13 + 9c28349 commit c695011
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 c695011

Please sign in to comment.