From 99dce32c09c42da277662a2c1f09a787639fb89d Mon Sep 17 00:00:00 2001 From: Skitch Date: Tue, 24 Feb 2015 10:53:05 -0500 Subject: [PATCH] Added optional index parameter to DSV's parse row accessor --- d3/d3.d.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/d3/d3.d.ts b/d3/d3.d.ts index 4935110e1..6cc372f7f 100644 --- a/d3/d3.d.ts +++ b/d3/d3.d.ts @@ -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. *