From b6b116863c433c8d61211312695ba90942421717 Mon Sep 17 00:00:00 2001 From: William Brawner Date: Sat, 26 Nov 2022 03:50:47 +0000 Subject: [PATCH] Specify type for variable in transaction-list-component --- .../transactions/transaction-list/transaction-list.component.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/app/transactions/transaction-list/transaction-list.component.ts b/src/app/transactions/transaction-list/transaction-list.component.ts index 261b19d..80b4aa7 100644 --- a/src/app/transactions/transaction-list/transaction-list.component.ts +++ b/src/app/transactions/transaction-list/transaction-list.component.ts @@ -44,7 +44,7 @@ export class TransactionListComponent implements OnInit { } let toStr = this.route.snapshot.queryParamMap.get('to'); - var to; + let to: Date; if (toStr) { let toDate = new Date(toStr); if (!isNaN(toDate.getTime())) {