mirror of
https://github.com/wassname/DefinitelyTyped.git
synced 2026-10-05 12:20:07 +08:00
D3.diagonal's index is optional
This commit is contained in:
1 parent
0cd5f0a148
commit
f3b5648444
1 file changed
+1
-1
Vendored
+1
-1
@@ -2488,7 +2488,7 @@ declare module d3 {
|
||||
}
|
||||
|
||||
interface Diagonal<Link, Node> {
|
||||
(d: Link, i: number): string;
|
||||
(d: Link, i?: number): string;
|
||||
|
||||
source(): (d: Link, i: number) => Node;
|
||||
source(source: Node): Diagonal<Link, Node>;
|
||||
|
||||
Reference in new issue
Block a user