From ab125f6a698898312d98753afa7fced699b702eb Mon Sep 17 00:00:00 2001 From: Andrey Lushnikov Date: Sun, 20 Aug 2017 14:32:14 -0700 Subject: [PATCH] doc: Fix return type in response.text() --- docs/api.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/api.md b/docs/api.md index 83c1d2ca..b1d85ba0 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]>