Specify type for variable in transaction-list-component
This commit is contained in:
parent
d89f615fa0
commit
b6b116863c
1 changed files with 1 additions and 1 deletions
|
@ -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())) {
|
||||
|
|
Loading…
Reference in a new issue