Error from observable - parameter cannot be inferred?

Ionic 3 with Angular 4 Ionic App. My screenshot says it all.

Thank you for the help.

Found the error. I had:

getTournamentData(tourneyId) : Observable<any> {
		return this.http.get(`${this.baseUrl}/tournaments-data/${tourneyId}.json`)
					  .map((response: Response) => {
						  this.currentTourney = response.json();
						  return this.currentTourney;
					  });
	}

I changed:
.map((response: Response) => {
to
.map(response => {

http.get already returns an Observable of type Response

2 hours on this:(

1 Like