Skip to content

Commit

Permalink
chore: export Lifetime interface with key
Browse files Browse the repository at this point in the history
  • Loading branch information
zz-hh-aa committed Aug 27, 2024
1 parent 67d3821 commit 53f17d3
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion app/models/Lifetime.ts
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ export interface LifetimeParams {
incomeYearly: number;
}

interface LifetimeData {
export interface LifetimeData {
incomeYearly: number;
affordabilityThresholdIncome: number;
newbuildHouseMortgageYearly: number;
Expand All @@ -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 {
Expand Down

0 comments on commit 53f17d3

Please sign in to comment.