From 3a7151df262ecef8debbcd9b6cdb004f6084f1d3 Mon Sep 17 00:00:00 2001 From: VickyStash Date: Mon, 30 Dec 2024 21:22:11 +0100 Subject: [PATCH] Minor type update --- src/libs/ReportUtils.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/libs/ReportUtils.ts b/src/libs/ReportUtils.ts index 576440a76158..1ae5413546f2 100644 --- a/src/libs/ReportUtils.ts +++ b/src/libs/ReportUtils.ts @@ -8592,7 +8592,7 @@ function hasInvoiceReports() { return reports.some((report) => isInvoiceReport(report)); } -function getReportMetadata(reportID?: string) { +function getReportMetadata(reportID: string | undefined) { return reportID ? allReportMetadataKeyValue[reportID] : undefined; }