doc: Fix return type in response.text()

This commit is contained in:
Andrey Lushnikov 2017-08-20 14:32:14 -07:00 committed by GitHub
parent e8b4288623
commit ab125f6a69

View File

@ -1221,7 +1221,7 @@ Contains a boolean stating whether the response was successful (status in the ra
Contains the status code of the response (e.g., 200 for a success). Contains the status code of the response (e.g., 200 for a success).
#### response.text() #### response.text()
- returns: <Promise<[text]>> Promise which resolves to a text representation of response body. - returns: <[Promise]<[string]>> Promise which resolves to a text representation of response body.
#### response.url #### response.url
- <[string]> - <[string]>