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())) {