Added optional index parameter to DSV's parse row accessor

This commit is contained in:
Skitch
2015-02-24 10:53:05 -05:00
parent 516266a0ac
commit 99dce32c09
Vendored
+1 -1
View File
@@ -704,7 +704,7 @@ declare module D3 {
* @param string delimited formatted string to parse
* @param accessor to modify properties of each row
*/
parse(string: string, accessor?: (row: any) => any): any[];
parse(string: string, accessor?: (row: any, index?: number) => any): any[];
/**
* Parse a delimited string into tuples, ignoring the header row.
*