Update xlsx.d.ts

added signatures for decode_[cell|range]
This commit is contained in:
groetzi
2016-11-14 17:50:08 -06:00
committed by GitHub
parent f5ab2df94e
commit afd2957d82
+7
View File
@@ -134,6 +134,11 @@ declare module 'xlsx' {
r: number;
}
export interface IRange {
s: ICell;
e: ICell;
}
export interface IUtils {
sheet_to_json<T>(worksheet:IWorkSheet, opts?: {
raw?: boolean;
@@ -144,6 +149,8 @@ declare module 'xlsx' {
sheet_to_formulae(worksheet: IWorkSheet):any;
encode_cell(cell: ICell): any;
encode_range(s: ICell, e: ICell): any;
decode_cell(address: string): ICell;
decode_range(range: string): IRange;
}
}