From f274b08f8e8550a6890eaf713e2eda0ba531ec18 Mon Sep 17 00:00:00 2001 From: Daeyeon Jeong Date: Mon, 26 Sep 2022 11:36:30 +0900 Subject: [PATCH] doc: fix description for `napi_get_cb_info()` in `n-api.md` MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Daeyeon Jeong PR-URL: https://github.com/nodejs/node/pull/44761 Reviewed-By: Michael Dawson Reviewed-By: Tobias Nießen Reviewed-By: Chengzhong Wu --- doc/api/n-api.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/doc/api/n-api.md b/doc/api/n-api.md index 352daceb218d17..056634cbe6aece 100644 --- a/doc/api/n-api.md +++ b/doc/api/n-api.md @@ -4731,8 +4731,8 @@ napi_status napi_get_cb_info(napi_env env, provided than claimed, the rest of `argv` is filled with `napi_value` values that represent `undefined`. `argv` can optionally be ignored by passing `NULL`. -* `[out] this`: Receives the JavaScript `this` argument for the call. `this` - can optionally be ignored by passing `NULL`. +* `[out] thisArg`: Receives the JavaScript `this` argument for the call. + `thisArg` can optionally be ignored by passing `NULL`. * `[out] data`: Receives the data pointer for the callback. `data` can optionally be ignored by passing `NULL`.