@@ -1035,15 +1035,15 @@ export type InferOutputByType<T extends "Blob" | "Uint8Array"> = T extends "Blob
10351035 */
10361036export declare function createWorkbook ( ) : Workbook ;
10371037/**
1038- * Turns a workbook into a downloadable file, you can between a ' Blob' or ' Uint8Array' ,
1039- * and if nothing is provided then ' Blob' will be the default
1038+ * Turns a Workbook into a downloadable file, you can switch output type a ` Blob` or ` Uint8Array` ,
1039+ * and if nothing is provided then ` Blob` is the default output type.
10401040 * @param {Excel/Workbook } workbook - The workbook that is being converted
10411041 * @param {'Uint8Array' | 'Blob' } [outputType='Blob'] - defaults to 'Blob'
10421042 * @param {Object } [options]
10431043 * - `fileFormat` defaults to "xlsx"
1044- * - `mimeType`: a mime type can be provided by the user or auto-detect the mime when undefined (by file extension .xls/ .xlsx)
1044+ * - `mimeType`: a mime type can be provided by the user or auto-detect the mime when undefined (by file extension ` .xls`/` .xlsx` )
10451045 * (user can pass an empty string to completely cancel the mime type altogether)
1046- * - `zipOptions` to specify any `fflate` options to modify how the zip is created.
1046+ * - `zipOptions` to specify any `fflate` options to modify how the zip will be created.
10471047 * @returns {Promise }
10481048 */
10491049export declare function createExcelFile < T extends "Blob" | "Uint8Array" = "Blob" > ( workbook : Workbook , outputType ?: T , options ?: {
@@ -1053,11 +1053,11 @@ export declare function createExcelFile<T extends "Blob" | "Uint8Array" = "Blob"
10531053} ) : Promise < InferOutputByType < T > > ;
10541054/**
10551055 * Download Excel file, currently only supports a "browser" as `downloadType`
1056- * but it could be expended in the future to also other type of platform like NodeJS for example.
1056+ * but it could be expended in the future to also support other type of platforms like NodeJS for example.
10571057 * @param {Workbook } workbook
1058- * @param {String } filename - filename (must also include file extension, xls/ xlsx)
1058+ * @param {String } filename - filename (must also include file extension: `. xls` or `. xlsx` )
10591059 * @param {Object } [options]
1060- * - `downloadType`: download type (browser/ node), currently only a "browser" download as a Blob
1060+ * - `downloadType`: download type (' browser' / ' node' ), currently only supports "browser" download as a Blob
10611061 * - `mimeType`: a mime type can be provided by the user or auto-detect the mime when undefined (by file extension .xls/.xlsx)
10621062 * (user can pass an empty string to completely cancel the mime type altogether)
10631063 * - `zipOptions` to specify any `fflate` options to modify how the zip is created.
0 commit comments