|
@@ -4,7 +4,7 @@ import type { JsonToSheet, AoAToSheet } from './typing';
|
|
|
|
|
|
const { utils, writeFile } = xlsx;
|
|
|
|
|
|
-const DEF_FILE_NAME = 'excel-list.xlsx';
|
|
|
+const DEF_FILE_NAME = 'excel-list.xlsxx';
|
|
|
|
|
|
export function jsonToSheetXlsx<T = any>({
|
|
|
data,
|
|
@@ -30,7 +30,7 @@ export function jsonToSheetXlsx<T = any>({
|
|
|
};
|
|
|
/* output format determined by filename */
|
|
|
writeFile(workbook, filename, write2excelOpts);
|
|
|
- /* at this point, out.xlsb will have been downloaded */
|
|
|
+ /* at this point, out.xlsxb will have been downloaded */
|
|
|
}
|
|
|
|
|
|
export function aoaToSheetXlsx<T = any>({
|
|
@@ -55,5 +55,5 @@ export function aoaToSheetXlsx<T = any>({
|
|
|
};
|
|
|
/* output format determined by filename */
|
|
|
writeFile(workbook, filename, write2excelOpts);
|
|
|
- /* at this point, out.xlsb will have been downloaded */
|
|
|
+ /* at this point, out.xlsxb will have been downloaded */
|
|
|
}
|