sheetjs-clone/misc/xl.d.ts
SheetJS 27af8a6d6a version bump 0.5.3: options!
- read and readFile accept opts argument:
o cellNF (default false) true -> cell.z holds number format string
o sheetStubs (default true) false -> stub cells not emitted

- name consistency (parse_workbook -> parse_wb_xml)
- README updates
- CONTRIBUTING notes added
2014-02-07 05:53:40 -05:00

33 lines
481 B
TypeScript

interface Cell {
v;
w?: string;
t?: string;
f?: string;
r?: string;
h?: string;
c?: any;
z?: string;
}
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;
};
}