From cbe3c5cd3c29decdb1ca4be6c81dc6fc333fc0f1 Mon Sep 17 00:00:00 2001 From: Ignacio Carbajo Date: Sun, 10 Oct 2021 21:27:54 +0200 Subject: [PATCH] doc: fix typos in n-api docs --- 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 24963af7f90878..2113ca7ca88c97 100644 --- a/doc/api/n-api.md +++ b/doc/api/n-api.md @@ -1574,7 +1574,7 @@ NAPI_EXTERN napi_status napi_create_reference(napi_env env, Returns `napi_ok` if the API succeeded. -This API create a new reference with the specified reference count +This API creates a new reference with the specified reference count to the `Object` passed in. #### napi_delete_reference @@ -4132,7 +4132,7 @@ napi_status napi_set_element(napi_env env, Returns `napi_ok` if the API succeeded. -This API sets and element on the `Object` passed in. +This API sets an element on the `Object` passed in. #### napi_get_element