diff --git a/doc/api/n-api.md b/doc/api/n-api.md index ebe23a4eda..668e3fab18 100644 --- a/doc/api/n-api.md +++ b/doc/api/n-api.md @@ -703,7 +703,7 @@ added: v8.0.0 NODE_EXTERN napi_status napi_create_reference(napi_env env, napi_value value, int initial_refcount, - ndapi_ref* result); + napi_ref* result); ``` - `[in] env`: The environment that the API is invoked under. @@ -2999,7 +2999,7 @@ support it: * If the function is not available, provide an alternate implementation that does not use the function. -[Aynchronous Operations]: #n_api_asynchronous_operations +[Asynchronous Operations]: #n_api_asynchronous_operations [Basic N-API Data Types]: #n_api_basic_n_api_data_types [ECMAScript Language Specification]: https://tc39.github.io/ecma262/ [Error Handling]: #n_api_error_handling