Skip to content

Commit f274b08

Browse files
daeyeonRafaelGSS
authored andcommitted
doc: fix description for napi_get_cb_info() in n-api.md
Signed-off-by: Daeyeon Jeong <daeyeon.dev@gmail.com> PR-URL: #44761 Reviewed-By: Michael Dawson <midawson@redhat.com> Reviewed-By: Tobias Nießen <tniessen@tnie.de> Reviewed-By: Chengzhong Wu <legendecas@gmail.com>
1 parent 858631f commit f274b08

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

doc/api/n-api.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -4731,8 +4731,8 @@ napi_status napi_get_cb_info(napi_env env,
47314731
provided than claimed, the rest of `argv` is filled with `napi_value` values
47324732
that represent `undefined`. `argv` can optionally be ignored by
47334733
passing `NULL`.
4734-
* `[out] this`: Receives the JavaScript `this` argument for the call. `this`
4735-
can optionally be ignored by passing `NULL`.
4734+
* `[out] thisArg`: Receives the JavaScript `this` argument for the call.
4735+
`thisArg` can optionally be ignored by passing `NULL`.
47364736
* `[out] data`: Receives the data pointer for the callback. `data` can
47374737
optionally be ignored by passing `NULL`.
47384738

0 commit comments

Comments
 (0)