forked from sheetjs/sheetjs
Update xlsx.d.ts
added signatures for decode_[cell|range]
This commit is contained in:
parent
09c3f9db84
commit
7c89b6e9b1
7
xlsx.d.ts
vendored
7
xlsx.d.ts
vendored
@ -134,6 +134,11 @@ declare module 'xlsx' {
|
|||||||
r: number;
|
r: number;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
export interface IRange {
|
||||||
|
s: ICell;
|
||||||
|
e: ICell;
|
||||||
|
}
|
||||||
|
|
||||||
export interface IUtils {
|
export interface IUtils {
|
||||||
sheet_to_json<T>(worksheet:IWorkSheet, opts?: {
|
sheet_to_json<T>(worksheet:IWorkSheet, opts?: {
|
||||||
raw?: boolean;
|
raw?: boolean;
|
||||||
@ -144,6 +149,8 @@ declare module 'xlsx' {
|
|||||||
sheet_to_formulae(worksheet: IWorkSheet):any;
|
sheet_to_formulae(worksheet: IWorkSheet):any;
|
||||||
encode_cell(cell: ICell): any;
|
encode_cell(cell: ICell): any;
|
||||||
encode_range(s: ICell, e: ICell): any;
|
encode_range(s: ICell, e: ICell): any;
|
||||||
|
decode_cell(address: string): ICell;
|
||||||
|
decode_range(range: string): IRange;
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user