title: Typescript ERROR TS1128: Declaration or statement expected
body: <p>Getting a typescript error that I spent a couple hours trying to fix. It's pointing at my game-details.component.ts(26,54) and it looks totally fine to me.</p>
  
  <p>Also when I CTR + S in my game-detail.component webpack Compiles successfully and my program works fine. Can anyone explain to me why it works like that?</p>
  
  <p>Here is the code:</p>
  
  <pre><code>import { Component, OnInit, Input } from '@angular/core';
  import { ActivatedRoute, Params } from '@angular/router';
  import { Location } from '@angular/common';
  
  import { GameService } from '../../game.service';
  import { UserComment } from '../../comment.model';
  
  @Component({
    selector: 'app-game-detail',
    templateUrl: './game-detail.component.html',
    styleUrls: ['./game-detail.component.css'],
    providers: [GameService]
  })
  export class GameDetailComponent implements OnInit {
  
    gameKey: string;
    gameDetail;
  
    constructor(private route: ActivatedRoute, private location: Location, private gameService: GameService) { }
  
    ngOnInit() {
      this.route.params.forEach((urlParameters)=&gt; {
        this.gameKey = urlParameters['id'];
      });
      this.gameService.getGameByKey(this.gameKey).subscribe(dataLastEmittedFromObserver =&gt; {
         this.gameDetail = dataLastEmittedFromObserver;);
        }
  
        addComment(com: string) {
        const newComment: UserComment = new UserComment(com);
        this.gameDetail.comments.push(newComment);
        this.gameService.updateComments(this.gameDetail);
        // this.toggleDisplay();
      }
  }
  </code></pre>