diff --git a/src/util/types.ts b/src/util/types.ts index 00d3b826c6..1d11e52a92 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 | TooltipBuiltinPosition | TooltipBoxLayoutOption } /** * Common tooltip option