Property 'token' does not exist on type 'Object' - Angular 8
问题 I am watching MEAN Stack - Mean Auth App Tutorial in Angular 2, since I am new to Angular and I'm using Angular 8, some of the codes is deprecated due to the new updates. So I have this code and I don't know how to fix it. This is my working code in Auth.service.ts There are no errors in this codes authenticateUser(user){ let headers = new HttpHeaders(); headers.append('Content-Type','application/json'); return this.http.post('http://localhost:3000/users/authenticate', user,{headers: headers}