sheetjs-clone/misc/xl.d.ts

28 lines
415 B
TypeScript
Raw Normal View History

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