fix(core): add ICheckingAccount, IPayment, TCurrency
This commit is contained in:
8
ts/finance/checkingaccount.ts
Normal file
8
ts/finance/checkingaccount.ts
Normal file
@ -0,0 +1,8 @@
|
||||
import { TCurrency } from "./currency";
|
||||
import { IPayment } from "./payment";
|
||||
|
||||
export interface ICheckingAccount {
|
||||
name: string;
|
||||
currency: TCurrency;
|
||||
payment: IPayment[];
|
||||
}
|
1
ts/finance/currency.ts
Normal file
1
ts/finance/currency.ts
Normal file
@ -0,0 +1 @@
|
||||
export type TCurrency = 'eur' | 'usd' | 'sek'
|
4
ts/finance/payment.ts
Normal file
4
ts/finance/payment.ts
Normal file
@ -0,0 +1,4 @@
|
||||
export interface IPayment {
|
||||
amount: number;
|
||||
date: Date;
|
||||
}
|
Reference in New Issue
Block a user