Create expenses tracker application with Next.js
This commit is contained in:
7
src/types/index.ts
Normal file
7
src/types/index.ts
Normal file
@ -0,0 +1,7 @@
|
||||
export interface Transaction {
|
||||
id: string;
|
||||
description: string;
|
||||
amount: number;
|
||||
type: 'expense' | 'income';
|
||||
date: string;
|
||||
}
|
||||
Reference in New Issue
Block a user