Merge pull request #3898 from gcastre/d3

D3 Add missing optional index parameter
This commit is contained in:
Masahiro Wakame
2015-03-25 00:49:35 +09:00
Vendored
+1 -1
View File
@@ -1842,7 +1842,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;
}