updated js types docs

This commit is contained in:
Gani Georgiev 2023-09-16 07:07:16 +03:00
parent 4927583790
commit f605521208
2 changed files with 3383 additions and 3379 deletions

File diff suppressed because it is too large Load Diff

View File

@ -881,9 +881,11 @@ declare namespace $http {
* method: "post", * method: "post",
* }) * })
* *
* console.log(res.statusCode) * console.log(res.statusCode) // the response HTTP status code
* console.log(res.raw) * console.log(res.headers) // the response headers (eg. res.headers['X-Custom'][0])
* console.log(res.json) * console.log(res.cookies) // the response cookies (eg. res.cookies.sessionId.value)
* console.log(res.raw) // the response body as plain text
* console.log(res.json) // the response body as parsed json array or map
* ` + "```" + ` * ` + "```" + `
*/ */
function send(config: { function send(config: {