Skip to content

Commit 53be738

Browse files
committed
Fix name of Account interface
1 parent 26774e0 commit 53be738

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/loggers/logCompanyIncome.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
import chalk from "chalk";
2-
import { IncomeStatement, ISAccount } from "onair-api";
2+
import { IncomeStatement, Account } from "onair-api";
33

44
const log = console.log;
55

6-
const logAccounts = (account: ISAccount[], cols: number): void => {
6+
const logAccounts = (account: Account[], cols: number): void => {
77
account.forEach((ISAccount) => {
88
const amount = ISAccount.Amount.toLocaleString('en-GB');
99
const paddingCount = cols - ISAccount.Name.length - amount.length;

0 commit comments

Comments
 (0)