mirror of
https://github.com/optilude/xlsx-template.git
synced 2026-07-02 08:27:39 +08:00
generate no longer requires type cast
This commit is contained in:
Vendored
+1
-1
@@ -5,7 +5,7 @@ export default class Workbook
|
||||
public copySheet(sheetName : string, copyName : string) : this;
|
||||
public loadTemplate(data : Buffer) : void;
|
||||
public substitute(sheetName : string | number, substitutions : Object) : void;
|
||||
public generate(options? : GenerateOptions) : Buffer | Uint8Array | Blob | string | ArrayBuffer;
|
||||
public generate<T extends Buffer | Uint8Array | Blob | string | ArrayBuffer>(options? : GenerateOptions) : T;
|
||||
|
||||
// need typing properly
|
||||
protected _rebuild() : void;
|
||||
|
||||
Reference in New Issue
Block a user