docs(aio): fix HttpClient setting new header sample

This commit is contained in:
Alexey Toksarov 2017-07-18 17:26:14 +03:00 committed by Alex Rickabaugh
parent 7d0f2cd51e
commit 2a2fe11e8d
1 changed files with 1 additions and 1 deletions

View File

@ -352,7 +352,7 @@ A common use of interceptors is to set default headers on outgoing responses. Fo
```javascript
import {Injectable} from '@angular/core';
import {HttpEvent, HttpInterceptor, HttpHandler, HttpRequest) from '@angular/common/http';
import {HttpEvent, HttpInterceptor, HttpHandler, HttpRequest} from '@angular/common/http';
@Injectable()
export class AuthInterceptor implements HttpInterceptor {