diff --git a/types/index.esm.d.ts b/types/index.esm.d.ts index 51ec1f7f6..6d6fa09bf 100644 --- a/types/index.esm.d.ts +++ b/types/index.esm.d.ts @@ -2696,7 +2696,7 @@ export interface TickOptions { /** * Returns the string representation of the tick value as it should be displayed on the chart. See callback. */ - callback: (tickValue: number | string, index: number, ticks: Tick[]) => string; + callback: (tickValue: number | string, index: number, ticks: Tick[]) => string | number | null | undefined; /** * If true, show tick labels. * @default true