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

@ -16,7 +16,7 @@ import {take} from 'rxjs/operators';
*
* Mock Connection to represent a {@link Connection} for tests.
*
* @deprecated use @angular/common/http instead
* @deprecated see https://angular.io/guide/http
*/
export class MockConnection implements Connection {
// TODO: Name `readyState` should change to be more generic, and states could be made to be more
@ -189,7 +189,7 @@ export class MockConnection implements Connection {
*
* This method only exists in the mock implementation, not in real Backends.
*
* @deprecated use @angular/common/http instead
* @deprecated see https://angular.io/guide/http
*/
@Injectable()
export class MockBackend implements ConnectionBackend {