[njs] Types: fixed typos.

Dmitry Volyntsev xeioex at nginx.com
Tue Jun 6 01:31:43 UTC 2023


details:   https://hg.nginx.org/njs/rev/92678163754a
branches:  
changeset: 2150:92678163754a
user:      Dmitry Volyntsev <xeioex at nginx.com>
date:      Mon Jun 05 18:21:07 2023 -0700
description:
Types: fixed typos.

diffstat:

 ts/ngx_core.d.ts |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (21 lines):

diff -r f357972b28e3 -r 92678163754a ts/ngx_core.d.ts
--- a/ts/ngx_core.d.ts	Mon Jun 05 18:21:06 2023 -0700
+++ b/ts/ngx_core.d.ts	Mon Jun 05 18:21:07 2023 -0700
@@ -102,7 +102,7 @@ declare class Request {
      * Request constructors.
      *
      * @param init is an optional initialization object.
-     * @returns returns Headers object.
+     * @returns returns Request object.
      * @since 0.7.10
      */
     constructor(input: NjsStringLike | Request, options?: NgxRequestOptions);
@@ -162,7 +162,7 @@ declare class Response {
      * Response constructors.
      *
      * @param init is an optional initialization object.
-     * @returns returns Headers object.
+     * @returns returns Response object.
      * @since 0.7.10
      */
     constructor(body?: NjsStringLike, options?: NgxResponseOptions);


More information about the nginx-devel mailing list