Hi there, 

When I start the app with #npm start, the app does not start. It gives the 
following errors below..........


(1) (82,40): error TS2339: Property 'then' does not exist on type 'void'. 


(2) Parameter 'account' implicitly has an 'any type


The entire  code base of  app/app.component.ts is clean, except the two 
words from the snippet below are underlined......  "then"  is underlined 
and   "account" is underlined.

  private removeAcc(index:number){
    this._accountService.remove(index).then(account => 
console.log(account));
  }

-- 
You received this message because you are subscribed to the Google Groups 
"Angular and AngularJS discussion" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/angular.
For more options, visit https://groups.google.com/d/optout.

Reply via email to