From 84bb09d40f3f26cdc54a0422f535f922177743d3 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 7a7bc28663176e..1c44ead41429a9 100644 --- a/doc/api/n-api.md +++ b/doc/api/n-api.md @@ -4727,8 +4727,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`.