diff --git a/types/nvd3/index.d.ts b/types/nvd3/index.d.ts index cd60da4b8d..7f92d2410e 100644 --- a/types/nvd3/index.d.ts +++ b/types/nvd3/index.d.ts @@ -1698,6 +1698,8 @@ id(value: number|string): this; valueFormat(): string; /*D3 Format object for the label of pie/donut, discrete bar and multibar charts.*/ valueFormat(value: string): this; + /*D3 Format object for the label of pie/donut, discrete bar and multibar charts.*/ + valueFormat(format: (d: any) => string): this; /* The width the graph or component created inside the SVG should be made*/ width(): number; /*The width the graph or component created inside the SVG should be made.*/ @@ -2649,6 +2651,8 @@ id(value: number|string): this; valueFormat(): string; /*D3 Format object for the label of pie/donut, discrete bar and multibar charts.*/ valueFormat(value: string): this; + /*D3 Format object for the label of pie/donut, discrete bar and multibar charts.*/ + valueFormat(format: (d: any) => string): this; /*.*/ valuePadding(): number; /**/