duit/types/index.ts
Dita Aji Pratama 62cd085b25 feat: setup project and add types
- Install @react-native-async-storage/async-storage package
- Add Transaction interface
- Add BalanceInfo interface
2026-04-18 12:19:52 +07:00

14 lines
241 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;
}