From cdeff7e5884026df84e706d35412ca86af13f874 Mon Sep 17 00:00:00 2001 From: Kenrick Tandrian <60643640+KenTandrian@users.noreply.github.com> Date: Wed, 30 Sep 2026 01:12:24 +0700 Subject: [PATCH] Task/widen input types in investment chart component (#7966) Widen input types --- .../investment-chart/investment-chart.component.ts | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/apps/client/src/app/components/investment-chart/investment-chart.component.ts b/apps/client/src/app/components/investment-chart/investment-chart.component.ts index 43ac5ff99b..8250133eb2 100644 --- a/apps/client/src/app/components/investment-chart/investment-chart.component.ts +++ b/apps/client/src/app/components/investment-chart/investment-chart.component.ts @@ -56,13 +56,13 @@ export class GfInvestmentChartComponent implements OnChanges, OnDestroy { @Input() public benchmarkDataItems: InvestmentItem[] = []; @Input() public benchmarkDataLabel = ''; @Input() public colorScheme: ColorScheme; - @Input() public currency: string; + @Input() public currency?: string; @Input() public groupBy: GroupBy; @Input() public historicalDataItems: LineChartItem[] = []; - @Input() public isInPercentage = false; + @Input() public isInPercentage?: boolean = false; @Input() public isLoading = false; - @Input() public locale = getLocale(); - @Input() public savingsRate = 0; + @Input() public locale?: string = getLocale(); + @Input() public savingsRate?: number = 0; private readonly chartCanvas = viewChild.required>('chartCanvas');