Skip to content

Commit

Permalink
cast event to any to prevent error in build
Browse files Browse the repository at this point in the history
  • Loading branch information
stijnvoekdh committed Mar 27, 2018
1 parent 805c6d4 commit 3870d7d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/app/map/from-to/from-to.component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -18,11 +18,11 @@ export class FromToComponent implements OnInit {

}
ngOnInit() {
this.vanSubject.debounceTime(500).subscribe((event: Event) => {
this.vanSubject.debounceTime(500).subscribe((event: any) => {
// Initialize search here.
this.getVanSuggest(event.target.value)
});
this.naarSubject.debounceTime(500).subscribe((event: Event) => {
this.naarSubject.debounceTime(500).subscribe((event: any) => {
// Initialize search here.
this.getNaarSuggest(event.target.value)
});
Expand Down

0 comments on commit 3870d7d

Please sign in to comment.