Skip to content

Commit 93a48e0

Browse files
igncptargos
authored andcommitted
doc: fix typos in n-api docs
PR-URL: #40402 Reviewed-By: Colin Ihrig <[email protected]> Reviewed-By: Rich Trott <[email protected]> Reviewed-By: Antoine du Hamel <[email protected]>
1 parent 7733b5e commit 93a48e0

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
@@ -1574,7 +1574,7 @@ NAPI_EXTERN napi_status napi_create_reference(napi_env env,
15741574

15751575
Returns `napi_ok` if the API succeeded.
15761576

1577-
This API create a new reference with the specified reference count
1577+
This API creates a new reference with the specified reference count
15781578
to the `Object` passed in.
15791579

15801580
#### napi_delete_reference
@@ -4132,7 +4132,7 @@ napi_status napi_set_element(napi_env env,
41324132

41334133
Returns `napi_ok` if the API succeeded.
41344134

4135-
This API sets and element on the `Object` passed in.
4135+
This API sets an element on the `Object` passed in.
41364136

41374137
#### napi_get_element
41384138
<!-- YAML

0 commit comments

Comments
 (0)