2017-02-03 20:50:45 +00:00
|
|
|
/*::
|
|
|
|
type ZIPFile = any;
|
|
|
|
|
2017-03-12 18:02:43 +00:00
|
|
|
type XLString = {
|
|
|
|
t:string;
|
|
|
|
r?:string;
|
|
|
|
h?:string;
|
|
|
|
};
|
|
|
|
|
|
|
|
type WorkbookFile = any;
|
|
|
|
|
2017-02-03 20:50:45 +00:00
|
|
|
type Workbook = {
|
|
|
|
SheetNames: Array<string>;
|
|
|
|
Sheets: any;
|
2017-03-12 18:02:43 +00:00
|
|
|
|
|
|
|
Props?: any;
|
|
|
|
Custprops?: any;
|
2017-03-18 23:25:50 +00:00
|
|
|
Themes?: any;
|
2017-03-12 18:02:43 +00:00
|
|
|
|
|
|
|
SSF?: {[n:number]:string};
|
|
|
|
cfb?: any;
|
2017-02-03 20:50:45 +00:00
|
|
|
};
|
|
|
|
|
2017-02-10 19:23:01 +00:00
|
|
|
interface CellAddress {
|
|
|
|
r:number;
|
|
|
|
c:number;
|
|
|
|
};
|
2017-03-25 01:36:40 +00:00
|
|
|
type CellAddrSpec = CellAddress | string;
|
2017-02-10 19:23:01 +00:00
|
|
|
|
|
|
|
type Cell = any;
|
|
|
|
|
|
|
|
type Range = {
|
|
|
|
s: CellAddress;
|
|
|
|
e: CellAddress;
|
|
|
|
}
|
|
|
|
type Worksheet = any;
|
|
|
|
|
|
|
|
type Sheet2CSVOpts = any;
|
|
|
|
type Sheet2JSONOpts = any;
|
|
|
|
|
|
|
|
type ParseOpts = any;
|
|
|
|
|
|
|
|
type WriteOpts = any;
|
|
|
|
type WriteFileOpts = any;
|
|
|
|
|
|
|
|
type RawData = any;
|
|
|
|
|
|
|
|
interface TypeOpts {
|
|
|
|
type:string;
|
|
|
|
}
|
|
|
|
|
2017-02-03 20:50:45 +00:00
|
|
|
type XLSXModule = any;
|
2017-02-10 19:23:01 +00:00
|
|
|
|
2017-03-12 18:02:43 +00:00
|
|
|
type SST = {
|
|
|
|
[n:number]:XLString;
|
|
|
|
Count:number;
|
|
|
|
Unique:number;
|
|
|
|
push(x:XLString):void;
|
|
|
|
length:number;
|
|
|
|
};
|
|
|
|
|
2017-02-10 19:23:01 +00:00
|
|
|
type Comment = any;
|
2017-03-20 09:02:25 +00:00
|
|
|
|
|
|
|
type ColInfo = {
|
|
|
|
MDW?:number; // Excel's "Max Digit Width" unit, always integral
|
|
|
|
width:number; // width in Excel's "Max Digit Width", width*256 is integral
|
|
|
|
wpx?:number; // width in screen pixels
|
|
|
|
wch?:number; // intermediate character calculation
|
|
|
|
};
|
2017-03-25 01:36:40 +00:00
|
|
|
|
|
|
|
type AOA = Array<Array<any> >;
|
2017-02-03 20:50:45 +00:00
|
|
|
*/
|