Skip to content

Commit

Permalink
cleanup readme
Browse files Browse the repository at this point in the history
  • Loading branch information
gltgrzegorz committed Jul 24, 2023
1 parent e7ee3c4 commit 437f747
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,8 @@ const loan = new Loan(
interest : number,
installment : number,
remain : number
}
},
//...
],
amount : number,
interestSum : number,
Expand All @@ -57,7 +58,7 @@ LoanJS.Loan(amount, installmentsNumber, interestRate, loanType)
| amount | number | *required | full amount of Loan
| installmentsNumber | number | *required | how many installments will be (in months)
| interestRate | number | *required | interest rate in percent (ex. 3.5)
| loanType | string or fn | 'annuity' | 'annuity' | 'annuityDue' | 'diminishing' | GetNextInstalmentPartFunction
| loanType | string or fn | annuity | annuity \| annuityDue \| diminishing \| GetNextInstalmentPartFunction

```ts
interface InstallmentPart {
Expand Down

0 comments on commit 437f747

Please sign in to comment.