From 53f17d3c2fcf53d7bae46223cd4d9b697b412c74 Mon Sep 17 00:00:00 2001 From: zzhhaa Date: Tue, 27 Aug 2024 14:40:10 +0100 Subject: [PATCH] chore: export Lifetime interface with key --- app/models/Lifetime.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/app/models/Lifetime.ts b/app/models/Lifetime.ts index 0d2876fe..5e5f40e0 100644 --- a/app/models/Lifetime.ts +++ b/app/models/Lifetime.ts @@ -24,7 +24,7 @@ export interface LifetimeParams { incomeYearly: number; } -interface LifetimeData { +export interface LifetimeData { incomeYearly: number; affordabilityThresholdIncome: number; newbuildHouseMortgageYearly: number; @@ -37,6 +37,7 @@ interface LifetimeData { marketHouseRentYearly: number; // we will need the below for newbuilds & retrofits, and oldbuilds // gasBillYearly: number; + [key: number]: number; } export class Lifetime {