diff --git a/app/lib/expense.tsx b/app/lib/expense.tsx index 6964776..785c97a 100644 --- a/app/lib/expense.tsx +++ b/app/lib/expense.tsx @@ -8,9 +8,9 @@ export type PricingType = typeof pricingTypes[number]; export class Expense implements Entity { id?: string; - name: string; - amount: number; - pricingType: PricingType; + name?: string; + amount?: number; + pricingType?: PricingType; constructor(id?: string, name?: string, amount?: number, pricingType?: PricingType) { this.id = id;