Added opts parameter to sheet_to_json method.

This commit is contained in:
Kārlis Gaņģis 2016-08-11 14:10:56 +03:00 committed by GitHub
parent a102a3adb1
commit 5e2768ac84

6
xlsx.d.ts vendored

@ -128,7 +128,11 @@ declare module 'xlsx' {
}
export interface IUtils {
sheet_to_json<T>(worksheet:IWorkSheet):T[];
sheet_to_json<T>(worksheet:IWorkSheet, opts?: {
raw?: boolean;
range?: any;
header?: "A"|number|string[];
}):T[];
sheet_to_csv(worksheet:IWorkSheet):any;
sheet_to_formulae(worksheet:IWorkSheet):any;
}