From 05c5f20a7cc66ec2ad510967db41c5a5f3dda035 Mon Sep 17 00:00:00 2001 From: Jan Sziegaud Date: Fri, 14 Jul 2017 16:12:48 +0200 Subject: [PATCH] added missing Option parameter --- types/csv-parse/index.d.ts | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/types/csv-parse/index.d.ts b/types/csv-parse/index.d.ts index cbf79729e5..e85742c1c9 100644 --- a/types/csv-parse/index.d.ts +++ b/types/csv-parse/index.d.ts @@ -1,6 +1,7 @@ // Type definitions for csv-parse 1.1 // Project: https://github.com/wdavidw/node-csv-parse // Definitions by: David Muller +// Jan Sziegaud // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped /// @@ -111,6 +112,16 @@ declare namespace parse { * If true, the parser will attempt to convert read data types to dates. It requires the "auto_parse" option. */ auto_parse_date?: boolean; + + /** + * Start returning records from a particular line. + */ + from?: number; + + /** + * Stop returning records after a particular line. + */ + to?: number; } // TODO: what is this for?