Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 93a48e0

Browse filesBrowse files
igncptargos
authored andcommitted
doc: fix typos in n-api docs
PR-URL: #40402 Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Rich Trott <rtrott@gmail.com> Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
1 parent 7733b5e commit 93a48e0
Copy full SHA for 93a48e0

File tree

Expand file treeCollapse file tree

1 file changed

+2
-2
lines changed
Open diff view settings
Filter options
Expand file treeCollapse file tree

1 file changed

+2
-2
lines changed
Open diff view settings
Collapse file

‎doc/api/n-api.md‎

Copy file name to clipboardExpand all lines: doc/api/n-api.md
+2-2Lines changed: 2 additions & 2 deletions
  • Display the source diff
  • Display the rich diff
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 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.