Fix compilation error
All checks were successful
Playwright Tests / test (pull_request) Has been skipped
Check usage of free licenses / build-static-assets (pull_request) Successful in 19s
Add copyright notice / copyright_notice (pull_request) Successful in 22s

This commit is contained in:
Manuel Bustillo 2024-12-09 20:12:18 +01:00
parent fb1b7e7d0f
commit 05392bc747

View File

@ -8,9 +8,9 @@ export type PricingType = typeof pricingTypes[number];
export class Expense implements Entity { export class Expense implements Entity {
id?: string; id?: string;
name: string; name?: string;
amount: number; amount?: number;
pricingType: PricingType; pricingType?: PricingType;
constructor(id?: string, name?: string, amount?: number, pricingType?: PricingType) { constructor(id?: string, name?: string, amount?: number, pricingType?: PricingType) {
this.id = id; this.id = id;