2013-11-15 13:35:01 +00:00
|
|
|
interface Cell {
|
|
|
|
v;
|
2014-02-07 10:53:40 +00:00
|
|
|
w?: string;
|
|
|
|
t?: string;
|
|
|
|
f?: string;
|
|
|
|
r?: string;
|
|
|
|
h?: string;
|
|
|
|
c?: any;
|
|
|
|
z?: string;
|
2013-11-15 13:35:01 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
interface Worksheet {
|
|
|
|
[key: string]: Cell;
|
|
|
|
}
|
|
|
|
|
|
|
|
interface Worksheets {
|
|
|
|
[key: string]: Worksheet;
|
|
|
|
}
|
|
|
|
|
|
|
|
interface Workbook {
|
|
|
|
SheetNames: string[];
|
|
|
|
Sheets: Worksheets;
|
|
|
|
}
|
|
|
|
|
|
|
|
interface XLSX {
|
|
|
|
verbose: Number;
|
|
|
|
readFile(filename: string): Workbook;
|
|
|
|
utils: {
|
|
|
|
get_formulae(worksheet: Worksheet): string[];
|
|
|
|
make_csv(worksheet: Worksheet): string;
|
|
|
|
};
|
|
|
|
}
|