docs(common): improve deprecation notices to be parsed by tslint
Closes: #24237 Closes: #24249
This commit is contained in:

committed by
Victor Berchet

parent
5794506c64
commit
069062236c
@ -17,14 +17,14 @@ import {URLSearchParams} from './url_search_params';
|
||||
* The primary purpose of a `ConnectionBackend` is to create new connections to fulfill a given
|
||||
* {@link Request}.
|
||||
*
|
||||
* @deprecated use @angular/common/http instead
|
||||
* @deprecated see https://angular.io/guide/http
|
||||
*/
|
||||
export abstract class ConnectionBackend { abstract createConnection(request: any): Connection; }
|
||||
|
||||
/**
|
||||
* Abstract class from which real connections are derived.
|
||||
*
|
||||
* @deprecated use @angular/common/http instead
|
||||
* @deprecated see https://angular.io/guide/http
|
||||
*/
|
||||
export abstract class Connection {
|
||||
readyState: ReadyState;
|
||||
@ -35,7 +35,7 @@ export abstract class Connection {
|
||||
/**
|
||||
* An XSRFStrategy configures XSRF protection (e.g. via headers) on an HTTP request.
|
||||
*
|
||||
* @deprecated use @angular/common/http instead
|
||||
* @deprecated see https://angular.io/guide/http
|
||||
*/
|
||||
export abstract class XSRFStrategy { abstract configureRequest(req: Request): void; }
|
||||
|
||||
@ -43,7 +43,7 @@ export abstract class XSRFStrategy { abstract configureRequest(req: Request): vo
|
||||
* Interface for options to construct a RequestOptions, based on
|
||||
* [RequestInit](https://fetch.spec.whatwg.org/#requestinit) from the Fetch spec.
|
||||
*
|
||||
* @deprecated use @angular/common/http instead
|
||||
* @deprecated see https://angular.io/guide/http
|
||||
*/
|
||||
export interface RequestOptionsArgs {
|
||||
url?: string|null;
|
||||
@ -66,7 +66,7 @@ export interface RequestArgs extends RequestOptionsArgs { url: string|null; }
|
||||
* Interface for options to construct a Response, based on
|
||||
* [ResponseInit](https://fetch.spec.whatwg.org/#responseinit) from the Fetch spec.
|
||||
*
|
||||
* @deprecated use @angular/common/http instead
|
||||
* @deprecated see https://angular.io/guide/http
|
||||
*/
|
||||
export interface ResponseOptionsArgs {
|
||||
body?: string|Object|FormData|ArrayBuffer|Blob|null;
|
||||
|
Reference in New Issue
Block a user