Skip to content

Commit

Permalink
fix(types): make amount optional in invoice details_attributes
Browse files Browse the repository at this point in the history
  • Loading branch information
UnderKoen committed Jan 24, 2024
1 parent 00c9373 commit 8227275
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions package.scripts.js
Expand Up @@ -14,6 +14,7 @@ module.exports = {
_default: "bsm ~.*",
eslint: "eslint .",
prettier: "prettier -c .",
typescript: "tsc --noEmit",
},
},
};
2 changes: 1 addition & 1 deletion src/common.ts
Expand Up @@ -238,7 +238,7 @@ export interface ISalesInvoiceCreate {
description: string;
period?: string;
price: string;
amount: number;
amount?: number | string;
tax_rate_id: string;
ledger_account_id: string;
project_id?: string;
Expand Down

0 comments on commit 8227275

Please sign in to comment.