Skip to content

Commit de2da1e

Browse files
committed
Fixed types in ts
1 parent 6c6441c commit de2da1e

File tree

3 files changed

+7
-7
lines changed

3 files changed

+7
-7
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "jspdf-invoice-template",
3-
"version": "1.0.8",
3+
"version": "1.0.9",
44
"description": "PDF template created for invoice with optional parameters. Using jsPDF library.",
55
"main": "index.js",
66
"scripts": {

src/index.d.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -41,8 +41,8 @@ import { jsPDF } from "jspdf";
4141
* invGenDate: string,
4242
* headerBorder: boolean,
4343
* tableBodyBorder: boolean,
44-
* header: [],
45-
* table: [],
44+
* header: string[],
45+
* table: any,
4646
* invTotal: string,
4747
* invCurrency: string,
4848
* invDescLabel: string,
@@ -92,8 +92,8 @@ declare function jsPDFInvoiceTemplate(props: {
9292
invGenDate: string;
9393
headerBorder: boolean;
9494
tableBodyBorder: boolean;
95-
header: [];
96-
table: [];
95+
header: string[];
96+
table: any;
9797
invTotal: string;
9898
invCurrency: string;
9999
invDescLabel: string;

src/index.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,8 +44,8 @@ export { OutputType, jsPDF };
4444
* invGenDate: string,
4545
* headerBorder: boolean,
4646
* tableBodyBorder: boolean,
47-
* header: [],
48-
* table: [],
47+
* header: string[],
48+
* table: any,
4949
* invTotal: string,
5050
* invCurrency: string,
5151
* invDescLabel: string,

0 commit comments

Comments
 (0)