diff --git a/docs/api.md b/docs/api.md index 83c1d2ca0c7..b1d85ba02ff 100644 --- a/docs/api.md +++ b/docs/api.md @@ -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). #### response.text() -- returns: > 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 - <[string]>