15 lines
260 B
TypeScript
15 lines
260 B
TypeScript
|
|
export interface Transaction {
|
||
|
|
id: string;
|
||
|
|
amount: number;
|
||
|
|
description: string;
|
||
|
|
type: 'income' | 'expense';
|
||
|
|
category: string;
|
||
|
|
date: string;
|
||
|
|
}
|
||
|
|
|
||
|
|
export interface BalanceInfo {
|
||
|
|
total: number;
|
||
|
|
income: number;
|
||
|
|
expense: number;
|
||
|
|
}
|