Skip to content

Commit

Permalink
Fixed types in ts
Browse files Browse the repository at this point in the history
  • Loading branch information
edisonneza committed Feb 15, 2021
1 parent 6c6441c commit de2da1e
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "jspdf-invoice-template",
"version": "1.0.8",
"version": "1.0.9",
"description": "PDF template created for invoice with optional parameters. Using jsPDF library.",
"main": "index.js",
"scripts": {
Expand Down
8 changes: 4 additions & 4 deletions src/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -41,8 +41,8 @@ import { jsPDF } from "jspdf";
* invGenDate: string,
* headerBorder: boolean,
* tableBodyBorder: boolean,
* header: [],
* table: [],
* header: string[],
* table: any,
* invTotal: string,
* invCurrency: string,
* invDescLabel: string,
Expand Down Expand Up @@ -92,8 +92,8 @@ declare function jsPDFInvoiceTemplate(props: {
invGenDate: string;
headerBorder: boolean;
tableBodyBorder: boolean;
header: [];
table: [];
header: string[];
table: any;
invTotal: string;
invCurrency: string;
invDescLabel: string;
Expand Down
4 changes: 2 additions & 2 deletions src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -44,8 +44,8 @@ export { OutputType, jsPDF };
* invGenDate: string,
* headerBorder: boolean,
* tableBodyBorder: boolean,
* header: [],
* table: [],
* header: string[],
* table: any,
* invTotal: string,
* invCurrency: string,
* invDescLabel: string,
Expand Down

0 comments on commit de2da1e

Please sign in to comment.