mirror of
https://github.com/wassname/DefinitelyTyped.git
synced 2026-09-09 11:13:57 +08:00
Merge pull request #3898 from gcastre/d3
D3 Add missing optional index parameter
This commit is contained in:
Vendored
+1
-1
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user