Skip to content

Commit

Permalink
add number, null and undefined as valid return types (#8891)
Browse files Browse the repository at this point in the history
  • Loading branch information
LeeLenaleee committed Apr 13, 2021
1 parent 95faa4f commit f76ca01
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion types/index.esm.d.ts
Expand Up @@ -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
Expand Down

0 comments on commit f76ca01

Please sign in to comment.