mirror of
https://github.com/wassname/DefinitelyTyped.git
synced 2026-09-09 11:13:57 +08:00
Added optional index parameter to DSV's parse row accessor
This commit is contained in:
Vendored
+1
-1
@@ -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.
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user