docs(common): fix in the documentation of PUT (#24528)

PR Close #24528
This commit is contained in:
riren 2018-06-14 23:57:46 +02:00 committed by Miško Hevery
parent f974c48885
commit 5fe1e74dd3

View File

@ -1974,8 +1974,8 @@ export class HttpClient {
/** /**
* Constructs an `Observable` which, when subscribed, will cause the configured * Constructs an `Observable` which, when subscribed, will cause the configured
* POST request to be executed on the server. See the individual overloads for * PUT request to be executed on the server. See the individual overloads for
* details of `post()`'s return type based on the provided options. * details of `put()`'s return type based on the provided options.
*/ */
put(url: string, body: any|null, options: { put(url: string, body: any|null, options: {
headers?: HttpHeaders | {[header: string]: string | string[]}, headers?: HttpHeaders | {[header: string]: string | string[]},