From 05392bc7474daa1188c33d40778ad97bfbbbe6f0 Mon Sep 17 00:00:00 2001 From: Manuel Bustillo Date: Mon, 9 Dec 2024 20:12:18 +0100 Subject: [PATCH] Fix compilation error --- app/lib/expense.tsx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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;