From 3fe4c86588e4e396f5a0b1976634f9adf66007b7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gr=C3=A9goire=20Castre?= Date: Wed, 18 Mar 2015 14:23:56 +0100 Subject: [PATCH] Add missing optional index parameter --- d3/d3.d.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/d3/d3.d.ts b/d3/d3.d.ts index be4032921..099b6e72b 100644 --- a/d3/d3.d.ts +++ b/d3/d3.d.ts @@ -1817,7 +1817,7 @@ declare module D3 { (): number; (value: number): Axis; } - tickFormat(formatter: (value: any) => string): Axis; + tickFormat(formatter: (value: any, index?: number) => string): Axis; nice(count?: number): Axis; }