duit/types/index.ts

14 lines
241 B
TypeScript
Raw Normal View History

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;
}