From a234ec5915587570a8c2533ca79645897d3cae24 Mon Sep 17 00:00:00 2001 From: rinzeb Date: Tue, 7 Feb 2017 13:21:31 +0100 Subject: [PATCH] Update xlsx typings Add optional 'options' parameter to function sheet_to_csv. (https://github.com/SheetJS/js-xlsx/blob/53f7f6d9446ccd680c9b13992d6dcdccde49a8f6/bits/90_utils.js#L132) --- index.d.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/index.d.ts b/index.d.ts index 3c78abb..4e4eb06 100644 --- a/index.d.ts +++ b/index.d.ts @@ -143,7 +143,7 @@ export interface IUtils { range?: any; header?: "A"|number|string[]; }):T[]; - sheet_to_csv(worksheet: IWorkSheet):any; + sheet_to_csv(worksheet: IWorkSheet, options?: { FS: string, RS: string }): string; sheet_to_formulae(worksheet: IWorkSheet):any; encode_cell(cell: ICell): any; encode_range(s: ICell, e: ICell): any;