mirror of
https://github.com/wassname/DefinitelyTyped.git
synced 2026-10-26 12:10:44 +08:00
Merge pull request #3898 from gcastre/d3
D3 Add missing optional index parameter
This commit is contained in:
commit
54ac039b06
1 file changed
+1
-1
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