From f76ca010e8466cb83c3c208cc3304a2064d4743f Mon Sep 17 00:00:00 2001 From: Jacco van den Berg <39033624+LeeLenaleee@users.noreply.github.com> Date: Tue, 13 Apr 2021 21:24:59 +0200 Subject: [PATCH] add number, null and undefined as valid return types (#8891) --- types/index.esm.d.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.47.3