diff options
author | Daeyeon Jeong <daeyeon.dev@gmail.com> | 2022-09-26 05:36:30 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-09-26 05:36:30 +0300 |
commit | e58c7ccc97d48aa70bc716f7902caedcff2a429c (patch) | |
tree | 85657cc0e083d04940f8fa5b4ffaf279659a8173 /doc/api/n-api.md | |
parent | 6e3c55cc35992cf912caa8eb60b01f3899f77e7e (diff) |
doc: fix description for `napi_get_cb_info()` in `n-api.md`
Signed-off-by: Daeyeon Jeong <daeyeon.dev@gmail.com>
PR-URL: https://github.com/nodejs/node/pull/44761
Reviewed-By: Michael Dawson <midawson@redhat.com>
Reviewed-By: Tobias Nießen <tniessen@tnie.de>
Reviewed-By: Chengzhong Wu <legendecas@gmail.com>
Diffstat (limited to 'doc/api/n-api.md')
-rw-r--r-- | doc/api/n-api.md | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/doc/api/n-api.md b/doc/api/n-api.md index ef7317e5f68..3a2b9bceb2a 100644 --- a/doc/api/n-api.md +++ b/doc/api/n-api.md @@ -4733,8 +4733,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`. |