xsheetjs/misc/xl.d.ts

33 lines
481 B
TypeScript
Raw Normal View History

2013-11-15 13:35:01 +00:00
interface Cell {
v;
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;
};
}