docs(common): improve deprecation notices to be parsed by tslint

Closes: #24237
This commit is contained in:
Alan Agius
2018-06-01 22:09:01 +02:00
committed by Victor Berchet
parent 0e1919c2db
commit 10213d0ca0
15 changed files with 32 additions and 32 deletions

View File

@ -28,7 +28,7 @@ const XSSI_PREFIX = /^\)\]\}',?\n/;
* This class would typically not be created or interacted with directly inside applications, though
* the {@link MockConnection} may be interacted with in tests.
*
* @deprecated use @angular/common/http instead
* @deprecated see https://angular.io/guide/http
*/
export class XHRConnection implements Connection {
request: Request;
@ -187,7 +187,7 @@ export class XHRConnection implements Connection {
* with different `cookieName` and `headerName` values. See the main HTTP documentation for more
* details.
*
* @deprecated use @angular/common/http instead
* @deprecated see https://angular.io/guide/http
*/
export class CookieXSRFStrategy implements XSRFStrategy {
constructor(
@ -225,7 +225,7 @@ export class CookieXSRFStrategy implements XSRFStrategy {
* }
* }
* ```
* @deprecated use @angular/common/http instead
* @deprecated see https://angular.io/guide/http
*/
@Injectable()
export class XHRBackend implements ConnectionBackend {