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
@ -8,7 +8,7 @@
|
||||
|
||||
/**
|
||||
* Supported http methods.
|
||||
* @deprecated use @angular/common/http instead
|
||||
* @deprecated see https://angular.io/guide/http
|
||||
*/
|
||||
export enum RequestMethod {
|
||||
Get,
|
||||
@ -24,7 +24,7 @@ export enum RequestMethod {
|
||||
* All possible states in which a connection can be, based on
|
||||
* [States](http://www.w3.org/TR/XMLHttpRequest/#states) from the `XMLHttpRequest` spec, but with an
|
||||
* additional "CANCELLED" state.
|
||||
* @deprecated use @angular/common/http instead
|
||||
* @deprecated see https://angular.io/guide/http
|
||||
*/
|
||||
export enum ReadyState {
|
||||
Unsent,
|
||||
@ -38,7 +38,7 @@ export enum ReadyState {
|
||||
/**
|
||||
* Acceptable response types to be associated with a {@link Response}, based on
|
||||
* [ResponseType](https://fetch.spec.whatwg.org/#responsetype) from the Fetch spec.
|
||||
* @deprecated use @angular/common/http instead
|
||||
* @deprecated see https://angular.io/guide/http
|
||||
*/
|
||||
export enum ResponseType {
|
||||
Basic,
|
||||
@ -50,7 +50,7 @@ export enum ResponseType {
|
||||
|
||||
/**
|
||||
* Supported content type to be automatically associated with a {@link Request}.
|
||||
* @deprecated use @angular/common/http instead
|
||||
* @deprecated see https://angular.io/guide/http
|
||||
*/
|
||||
export enum ContentType {
|
||||
NONE,
|
||||
@ -64,7 +64,7 @@ export enum ContentType {
|
||||
|
||||
/**
|
||||
* Define which buffer to use to store the response
|
||||
* @deprecated use @angular/common/http instead
|
||||
* @deprecated see https://angular.io/guide/http
|
||||
*/
|
||||
export enum ResponseContentType {
|
||||
Text,
|
||||
|
Reference in New Issue
Block a user